Modify options for the command plugin install
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
13094ffef9
commit
d08886618e
|
@ -35,8 +35,8 @@ func newInstallCommand(dockerCli *client.DockerCli) *cobra.Command {
|
|||
}
|
||||
|
||||
flags := cmd.Flags()
|
||||
flags.BoolVar(&options.grantPerms, "grant-all-permissions", false, "grant all permissions necessary to run the plugin")
|
||||
flags.BoolVar(&options.disable, "disable", false, "do not enable the plugin on install")
|
||||
flags.BoolVar(&options.grantPerms, "grant-all-permissions", false, "Grant all permissions necessary to run the plugin")
|
||||
flags.BoolVar(&options.disable, "disable", false, "Do not enable the plugin on install")
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
|
|
@ -17,8 +17,8 @@ Usage: docker plugin install [OPTIONS] PLUGIN
|
|||
Install a plugin
|
||||
|
||||
Options:
|
||||
--disable do not enable the plugin on install
|
||||
--grant-all-permissions grant all permissions necessary to run the plugin
|
||||
--disable Do not enable the plugin on install
|
||||
--grant-all-permissions Grant all permissions necessary to run the plugin
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue