瀏覽代碼

Fix supervisorctl --help to show the correct program name

Mike Naberezny 14 年之前
父節點
當前提交
f10a80badc
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      CHANGES.txt
  2. 2 2
      supervisor/supervisorctl.py

+ 2 - 0
CHANGES.txt

@@ -19,6 +19,8 @@ Next release
   <params> when there are no parameters for the method call.  Thanks to
   <params> when there are no parameters for the method call.  Thanks to
   Johannes Becker for reporting this. 
   Johannes Becker for reporting this. 
 
 
+- Fixed ``supervisorctl --help`` output to show the correct program name.
+
 3.0a10 (2011-03-30)
 3.0a10 (2011-03-30)
 -------------------
 -------------------
 
 

+ 2 - 2
supervisor/supervisorctl.py

@@ -2,7 +2,7 @@
 
 
 """supervisorctl -- control applications run by supervisord from the cmd line.
 """supervisorctl -- control applications run by supervisord from the cmd line.
 
 
-Usage: python supervisorctl.py [-c file] [-h] [action [arguments]]
+Usage: %s [options] [action [arguments]]
 
 
 Options:
 Options:
 -c/--configuration -- configuration file path (default /etc/supervisor.conf)
 -c/--configuration -- configuration file path (default /etc/supervisor.conf)
@@ -17,7 +17,7 @@ Options:
 action [arguments] -- see below
 action [arguments] -- see below
 
 
 Actions are commands like "tail" or "stop".  If -i is specified or no action is
 Actions are commands like "tail" or "stop".  If -i is specified or no action is
-specified on the command line, a"shell" interpreting actions typed
+specified on the command line, a "shell" interpreting actions typed
 interactively is started.  Use the action "help" to find out about available
 interactively is started.  Use the action "help" to find out about available
 actions.
 actions.
 """
 """