浏览代码

Merge pull request #512 from bfirsh/fix-entrypoint

Fix fig run entrypoint option
Aanand Prasad 11 年之前
父节点
当前提交
9df5481066
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      fig/cli/main.py

+ 7 - 7
fig/cli/main.py

@@ -264,13 +264,13 @@ class TopLevelCommand(Command):
         Usage: run [options] SERVICE [COMMAND] [ARGS...]
 
         Options:
-            -d         Detached mode: Run container in the background, print
-                       new container name.
-            --entrypoint  Override the entrypoint of the image.
-            --no-deps  Don't start linked services.
-            --rm       Remove container after run. Ignored in detached mode.
-            -T         Disable pseudo-tty allocation. By default `fig run`
-                       allocates a TTY.
+            -d                Detached mode: Run container in the background, print
+                              new container name.
+            --entrypoint CMD  Override the entrypoint of the image.
+            --no-deps         Don't start linked services.
+            --rm              Remove container after run. Ignored in detached mode.
+            -T                Disable pseudo-tty allocation. By default `fig run`
+                              allocates a TTY.
         """
         service = project.get_service(options['SERVICE'])