Browse Source

Changes "command-line" -> "command line"

Ask Solem 12 years ago
parent
commit
c9f238bd47

+ 1 - 1
celery/bin/base.py

@@ -193,7 +193,7 @@ class Command(object):
         pass
 
     def usage(self, command):
-        """Returns the command-line usage string for this app."""
+        """Returns the command line usage string for this app."""
         return '%%prog [options] %s' % (self.args, )
 
     def get_options(self):

+ 1 - 1
celery/platforms.py

@@ -82,7 +82,7 @@ def _find_option_with_arg(argv, short_opts=None, long_opts=None):
 
 
 def maybe_patch_concurrency(argv, short_opts=None, long_opts=None):
-    """With short and long opt alternatives that specify the command-line
+    """With short and long opt alternatives that specify the command line
     option to set the pool, this makes sure that anything that needs
     to be patched is completed as early as possible.
     (e.g. eventlet/gevent monkey patches)."""

+ 2 - 2
docs/history/changelog-2.1.rst

@@ -390,7 +390,7 @@ News
 * :func:`~celery.task.control.broadcast`: Added callback argument, this can be
   used to process replies immediately as they arrive.
 
-* celeryctl: New command-line utility to manage and inspect worker nodes,
+* celeryctl: New command line utility to manage and inspect worker nodes,
   apply tasks and inspect the results of tasks.
 
     .. seealso::
@@ -472,7 +472,7 @@ News
             stdouts = logging.getLogger("mystdoutslogger")
             log.redirect_stdouts_to_logger(stdouts, loglevel=logging.WARNING)
 
-* celeryd: Added command-line option :option:`-I`/:option:`--include`:
+* celeryd: Added command line option :option:`-I`/:option:`--include`:
 
     A comma separated list of (task) modules to be imported.
 

+ 1 - 1
docs/history/changelog-2.3.rst

@@ -360,7 +360,7 @@ Fixes
 * ``CELERY_TASK_ERROR_WHITE_LIST`` is now properly initialized
   in all loaders.
 
-* celeryd_detach now passes through command-line configuration.
+* celeryd_detach now passes through command line configuration.
 
 * Remote control command ``add_consumer`` now does nothing if the
   queue is already being consumed from.

+ 2 - 2
docs/userguide/monitoring.rst

@@ -23,8 +23,8 @@ Workers
 .. _monitoring-celeryctl:
 
 
-``celery``: Management Command-line Utilities
----------------------------------------------
+``celery``: Command Line Management Utility
+-------------------------------------------
 
 .. versionadded:: 2.1
 

+ 1 - 1
docs/userguide/routing.rst

@@ -360,7 +360,7 @@ Hands-on with the API
 ---------------------
 
 Celery comes with a tool called :program:`celery amqp`
-that is used for command-line access to the AMQP API, enabling access to
+that is used for command line access to the AMQP API, enabling access to
 administration tasks like creating/deleting queues and exchanges, purging
 queues or sending messages.  It can also be used for non-AMQP brokers,
 but different implementation may not implement all commands.

+ 2 - 2
docs/whatsnew-3.0.rst

@@ -759,7 +759,7 @@ In Other News
         >>> import celery
         >>> print(celery.bugreport())
 
-    - Using the ``celery`` command-line program:
+    - Using the ``celery`` command line program:
 
         .. code-block:: bash
 
@@ -910,7 +910,7 @@ Internals
 
 - Renamed module ``celery.abstract`` -> :mod:`celery.worker.bootsteps`.
 
-- Command-line docs are now parsed from the module docstrings.
+- Command line docs are now parsed from the module docstrings.
 
 - Test suite directory has been reorganized.