diff options
author | Josh Hawn <josh.hawn@docker.com> | 2015-05-13 19:45:01 -0700 |
---|---|---|
committer | Josh Hawn <josh.hawn@docker.com> | 2015-06-10 16:14:45 -0700 |
commit | 4cb0c93f9287d29934894c871d156801122516cd (patch) | |
tree | a2ec6dacbfa245f800f2371a4c9ac836d5a36ad3 /integration-cli/docker_cli_search_test.go | |
parent | 466efebf0e9c41740316ec66c63ec6c7d64f9f57 (diff) | |
download | docker-4cb0c93f9287d29934894c871d156801122516cd.tar.gz |
api/client: Allow for multi-line usage help
Subcommands can provide multiple usage synopses.
Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
Diffstat (limited to 'integration-cli/docker_cli_search_test.go')
-rw-r--r-- | integration-cli/docker_cli_search_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-cli/docker_cli_search_test.go b/integration-cli/docker_cli_search_test.go index da298a1e0c..f689bba96d 100644 --- a/integration-cli/docker_cli_search_test.go +++ b/integration-cli/docker_cli_search_test.go @@ -53,7 +53,7 @@ func (s *DockerSuite) TestSearchCmdOptions(c *check.C) { c.Fatalf("failed to get search help information: %s, %v", out, err) } - if !strings.Contains(out, "Usage: docker search [OPTIONS] TERM") { + if !strings.Contains(out, "Usage:\tdocker search [OPTIONS] TERM") { c.Fatalf("failed to show docker search usage: %s, %v", out, err) } |