Browse Source

Delete dots to align with other commands description

Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
yupengzte 8 years ago
parent
commit
ec95ad7353

+ 1 - 1
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
 }
 

+ 1 - 1
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
 }
 

+ 1 - 1
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

+ 1 - 1
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