소스 검색

Fix dnet service cli help o/p

Signed-off-by: Alessandro Boch <aboch@docker.com>
Alessandro Boch 10 년 전
부모
커밋
ce64bdbd9f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)