瀏覽代碼

Remove duplicate `--filter` from help message for `ps`

The `--filter` option appears twice in the help message.
Its presence in the usage line suggests that it is valid for both ps and
service mode, which is wrong.

Signed-off-by: Harald Albers <[email protected]>
Harald Albers 7 年之前
父節點
當前提交
748357f665
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compose/cli/main.py

+ 1 - 1
compose/cli/main.py

@@ -619,7 +619,7 @@ class TopLevelCommand(object):
         """
         List containers.
 
-        Usage: ps [options] [--filter KEY=VAL] [SERVICE...]
+        Usage: ps [options] [SERVICE...]
 
         Options:
             -q                   Only display IDs