Просмотр исходного кода

Merge pull request #7045 from ndeloof/command_suggest

Suggested command is invalid
Ulysses Souza 6 лет назад
Родитель
Сommit
eb20915c6e
1 измененных файлов с 2 добавлено и 2 удалено
  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:
             command_hint = (
-                "Use `docker-compose push {}` to push them. "
+                "Use `docker push {}` to push them. "
                 .format(" ".join(sorted(e.needs_push)))
             )
             paras += [
@@ -1212,7 +1212,7 @@ def image_digests_for_project(project):
 
         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)))
             )