浏览代码

Suggested command is invalid

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 6 年之前
父节点
当前提交
657bdef6ff
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      compose/cli/main.py

+ 2 - 2
compose/cli/main.py

@@ -1230,7 +1230,7 @@ def image_digests_for_project(project, allow_push=False):
 
         if e.needs_push:
             command_hint = (
-                "Use `docker-compose push {}` to push them. "
+                "Use `docker push {}` to push them. "
                 .format(" ".join(sorted(e.needs_push)))
             )
             paras += [
@@ -1241,7 +1241,7 @@ def image_digests_for_project(project, allow_push=False):
 
         if e.needs_pull:
             command_hint = (
-                "Use `docker-compose pull {}` to pull them. "
+                "Use `docker pull {}` to pull them. "
                 .format(" ".join(sorted(e.needs_pull)))
             )