mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Modify options for the command plugin install
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn> Upstream-commit: d08886618eac804e879cc2953a3a07863e90e5e6 Component: engine
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user