Normalize the log for docker subcommand usage,

delete unecessary blank after "[OPTIONS] "
and add a blank to the log between options and signature.

To make the code style consistency.

Signed-off-by: Zen Lin(Zhinan Lin) <linzhinan@huawei.com>
This commit is contained in:
Zen Lin(Zhinan Lin)
2015-03-11 18:58:32 +08:00
parent f63a29ddee
commit 2b051bcbda
2 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ func TestHelpTextVerify(t *testing.T) {
if strings.HasPrefix(line, " -") && strings.HasSuffix(line, ".") {
t.Fatalf("Help for %q should not end with a period: %s", cmd, line)
}
// Options should not end with a space
if strings.HasSuffix(line, " ") {
t.Fatalf("Help for %q should not end with a space: %s", cmd, line)