Bläddra i källkod

Merge pull request #7045 from ndeloof/command_suggest

Suggested command is invalid
Ulysses Souza 6 år sedan
förälder
incheckning
eb20915c6e
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      compose/cli/main.py

+ 2 - 2
compose/cli/main.py

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