Ver código fonte

improves docstring

Ask Solem 12 anos atrás
pai
commit
68774f3032
1 arquivos alterados com 7 adições e 0 exclusões
  1. 7 0
      celery/bin/base.py

+ 7 - 0
celery/bin/base.py

@@ -6,6 +6,9 @@
 Preload Options
 ---------------
 
+These options are supported by all commands,
+and usually parsed before command-specific arguments.
+
 .. cmdoption:: -A, --app
 
     app instance to use (e.g. module.attr_name)
@@ -27,6 +30,10 @@ Preload Options
 Daemon Options
 --------------
 
+These options are supported by commands that can detach
+into the background (daemon).  They will be present
+in any command that also has a `--detach` option.
+
 .. cmdoption:: -f, --logfile
 
     Path to log file. If no logfile is specified, `stderr` is used.