Browse Source

Add version option

dongweiming 11 years ago
parent
commit
44a26df8fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/supervisor/_supervisord

+ 1 - 0
plugins/supervisor/_supervisord

@@ -7,6 +7,7 @@ _arguments \
     {--configuration,-c}"[configuration file]:FILENAME:_files" \
     {--nodaemon,-n}"[run in the foreground (same as 'nodaemon true' in config file)]" \
     {--help,-h}"[print this usage message and exit]:" \
+    {--version,-v}"[print supervisord version number and exit]:" \
     {--user,-u}"[run supervisord as this user]:USER:_users" \
     {--umask,-m}"[use this umask for daemon subprocess (default is 022)]" \
     {--directory,-d}"[directory to chdir to when daemonized]" \