Kaynağa Gözat

Fix supervisorctl --help to show the correct program name

Mike Naberezny 14 yıl önce
ebeveyn
işleme
f10a80badc
2 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  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
   Johannes Becker for reporting this. 
 
+- Fixed ``supervisorctl --help`` output to show the correct program name.
+
 3.0a10 (2011-03-30)
 -------------------
 

+ 2 - 2
supervisor/supervisorctl.py

@@ -2,7 +2,7 @@
 
 """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:
 -c/--configuration -- configuration file path (default /etc/supervisor.conf)
@@ -17,7 +17,7 @@ Options:
 action [arguments] -- see below
 
 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
 actions.
 """