浏览代码

Update platforms.py (#4203)

Rewords root user message to include the correct syntax on running as a different user
Sammie S. Taunton 7 年之前
父节点
当前提交
1b9678915b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/platforms.py

+ 1 - 1
celery/platforms.py

@@ -86,7 +86,7 @@ ROOT_DISCOURAGED = """\
 You're running the worker with superuser privileges: this is
 absolutely not recommended!
 
-Please specify a different user using the -u option.
+Please specify a different user using the --uid option.
 
 User information: uid={uid} euid={euid} gid={gid} egid={egid}
 """