Ver código fonte

Removed anal warning from 'go vet'

Solomon Hykes 12 anos atrás
pai
commit
9d82bab041
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      commands.go

+ 1 - 1
commands.go

@@ -64,7 +64,7 @@ func (srv *Server) Help() string {
 		{"wait", "Block until a container stops, then print its exit code"},
 		{"write", "Write the contents of standard input to a container's file"},
 	} {
-		help += fmt.Sprintf("    %-10.10s%s\n", cmd...)
+		help += fmt.Sprintf("    %-10.10s%s\n", cmd[0], cmd[1])
 	}
 	return help
 }