Merge pull request #26140 from yuexiao-wang/modify-usage
Modify options for the command plugin install Upstream-commit: ec82819cc9c652908fd74fb2082900dfa0468bcc 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