Browse Source

Fix dnet service cli help o/p

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 10 năm trước cách đây
mục cha
commit
ce64bdbd9f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      libnetwork/client/service_experimental.go

+ 1 - 1
libnetwork/client/service_experimental.go

@@ -309,7 +309,7 @@ func serviceUsage(chain string) string {
 	help := "Commands:\n"
 
 	for _, cmd := range serviceCommands {
-		help += fmt.Sprintf("    %-10.10s%s\n", cmd, cmd.description)
+		help += fmt.Sprintf("    %-10.10s%s\n", cmd.name, cmd.description)
 	}
 
 	help += fmt.Sprintf("\nRun '%s service COMMAND --help' for more information on a command.", chain)