Ask Solem 12 лет назад
Родитель
Сommit
46b17c5237
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      examples/app/myapp.py

+ 3 - 2
examples/app/myapp.py

@@ -10,9 +10,10 @@ Usage:
    32
    32
 
 
 
 
-You can also specify the app to use with celeryd::
+You can also specify the app to use with the `celery` command,
+using the `-A` / `--app` option::
 
 
-    $ celery worker -l info --app=myapp
+    $ celery -A myapp worker -l info
 
 
 """
 """
 from celery import Celery
 from celery import Celery