Browse code

Modify options for the command plugin install

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/08/30 19:45:06
Showing 2 changed files
... ...
@@ -35,8 +35,8 @@ func newInstallCommand(dockerCli *client.DockerCli) *cobra.Command {
35 35
 	}
36 36
 
37 37
 	flags := cmd.Flags()
38
-	flags.BoolVar(&options.grantPerms, "grant-all-permissions", false, "grant all permissions necessary to run the plugin")
39
-	flags.BoolVar(&options.disable, "disable", false, "do not enable the plugin on install")
38
+	flags.BoolVar(&options.grantPerms, "grant-all-permissions", false, "Grant all permissions necessary to run the plugin")
39
+	flags.BoolVar(&options.disable, "disable", false, "Do not enable the plugin on install")
40 40
 
41 41
 	return cmd
42 42
 }
... ...
@@ -17,8 +17,8 @@ Usage:  docker plugin install [OPTIONS] PLUGIN
17 17
 Install a plugin
18 18
 
19 19
 Options:
20
-      --disable                 do not enable the plugin on install
21
-      --grant-all-permissions   grant all permissions necessary to run the plugin
20
+      --disable                 Do not enable the plugin on install
21
+      --grant-all-permissions   Grant all permissions necessary to run the plugin
22 22
       --help                    Print usage
23 23
 ```
24 24