From ec95ad7353b240542f73076dde975e392c281748 Mon Sep 17 00:00:00 2001 From: yupengzte Date: Thu, 23 Feb 2017 16:46:08 +0800 Subject: [PATCH] Delete dots to align with other commands description Signed-off-by: yupengzte --- cli/command/node/inspect.go | 2 +- cli/command/service/inspect.go | 2 +- docs/reference/commandline/node_inspect.md | 2 +- docs/reference/commandline/service_inspect.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/command/node/inspect.go b/cli/command/node/inspect.go index 97a2717781..a08497003d 100644 --- a/cli/command/node/inspect.go +++ b/cli/command/node/inspect.go @@ -37,7 +37,7 @@ func newInspectCommand(dockerCli command.Cli) *cobra.Command { flags := cmd.Flags() flags.StringVarP(&opts.format, "format", "f", "", "Format the output using the given Go template") - flags.BoolVar(&opts.pretty, "pretty", false, "Print the information in a human friendly format.") + flags.BoolVar(&opts.pretty, "pretty", false, "Print the information in a human friendly format") return cmd } diff --git a/cli/command/service/inspect.go b/cli/command/service/inspect.go index deb701bf6d..7af9b98c3c 100644 --- a/cli/command/service/inspect.go +++ b/cli/command/service/inspect.go @@ -38,7 +38,7 @@ func newInspectCommand(dockerCli *command.DockerCli) *cobra.Command { flags := cmd.Flags() flags.StringVarP(&opts.format, "format", "f", "", "Format the output using the given Go template") - flags.BoolVar(&opts.pretty, "pretty", false, "Print the information in a human friendly format.") + flags.BoolVar(&opts.pretty, "pretty", false, "Print the information in a human friendly format") return cmd } diff --git a/docs/reference/commandline/node_inspect.md b/docs/reference/commandline/node_inspect.md index 2ff6971742..19deec7672 100644 --- a/docs/reference/commandline/node_inspect.md +++ b/docs/reference/commandline/node_inspect.md @@ -23,7 +23,7 @@ Display detailed information on one or more nodes Options: -f, --format string Format the output using the given Go template --help Print usage - --pretty Print the information in a human friendly format. + --pretty Print the information in a human friendly format ``` ## Description diff --git a/docs/reference/commandline/service_inspect.md b/docs/reference/commandline/service_inspect.md index 3e7b1f838b..370e21882d 100644 --- a/docs/reference/commandline/service_inspect.md +++ b/docs/reference/commandline/service_inspect.md @@ -23,7 +23,7 @@ Display detailed information on one or more services Options: -f, --format string Format the output using the given Go template --help Print usage - --pretty Print the information in a human friendly format. + --pretty Print the information in a human friendly format ``` ## Description