Miss the options in some commands
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn> Upstream-commit: b8af6b579b4f5f3799957165f0a1631b4b68faa4 Component: engine
This commit is contained in:
@ -22,7 +22,7 @@ func newListCommand(dockerCli *client.DockerCli) *cobra.Command {
|
||||
var opts listOptions
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "ls",
|
||||
Use: "ls [OPTIONS]",
|
||||
Short: "List plugins",
|
||||
Aliases: []string{"list"},
|
||||
Args: cli.NoArgs,
|
||||
|
||||
@ -27,7 +27,7 @@ func NewInfoCommand(dockerCli *client.DockerCli) *cobra.Command {
|
||||
var opts infoOptions
|
||||
|
||||
cmd := &cobra.Command{
|
||||
Use: "info",
|
||||
Use: "info [OPTIONS]",
|
||||
Short: "Display system-wide information",
|
||||
Args: cli.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
||||
Reference in New Issue
Block a user