Commits

Hideo Hattori committed 26450bf

fix: requires argument

  • Participants
  • Parent commits d84ea68

Comments (0)

Files changed (1)

File _supervisorctl

 
 _supervisorctl() {
     _arguments -s -S \
-        {--configuration,-c}"[configuration file path (default /etc/supervisor.conf)]" \
-        {--help,-h}"[print usage message and exit]" \
+        {--configuration,-c}"[configuration file path (default /etc/supervisor.conf)]:FILENAME:_files" \
+        {--help,-h}"[print usage message and exit]:" \
         {--interactive,-i}"[start an interactive shell after executing commands]" \
         {--serverurl,-s}"[URL on which supervisord server is listening (default "http://localhost:9001").]" \
-        {--username,-u}"[username to use for authentication with server]" \
-        {--password,-p}"[password to use for authentication with server]" \
-        {--history-file,-r}"[keep a readline history (if readline is available)]" \
+        {--username,-u}"[username to use for authentication with server]:USERNAME:_users" \
+        {--password,-p}"[password to use for authentication with server]:PASSWORD:" \
+        {--history-file,-r}"[keep a readline history (if readline is available)]:FILENAME:_files" \
         "*::supervisorctl commands:_supervisorctl_command"
 }