Browse code

Miss the options in some commands

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

yuexiao-wang authored on 2016/08/31 15:18:41
Showing 4 changed files
... ...
@@ -22,7 +22,7 @@ func newListCommand(dockerCli *client.DockerCli) *cobra.Command {
22 22
 	var opts listOptions
23 23
 
24 24
 	cmd := &cobra.Command{
25
-		Use:     "ls",
25
+		Use:     "ls [OPTIONS]",
26 26
 		Short:   "List plugins",
27 27
 		Aliases: []string{"list"},
28 28
 		Args:    cli.NoArgs,
... ...
@@ -27,7 +27,7 @@ func NewInfoCommand(dockerCli *client.DockerCli) *cobra.Command {
27 27
 	var opts infoOptions
28 28
 
29 29
 	cmd := &cobra.Command{
30
-		Use:   "info",
30
+		Use:   "info [OPTIONS]",
31 31
 		Short: "Display system-wide information",
32 32
 		Args:  cli.NoArgs,
33 33
 		RunE: func(cmd *cobra.Command, args []string) error {
... ...
@@ -11,7 +11,7 @@ parent = "smn_cli"
11 11
 # info
12 12
 
13 13
 ```markdown
14
-Usage:  docker info
14
+Usage:  docker info [OPTIONS]
15 15
 
16 16
 Display system-wide information
17 17
 
... ...
@@ -12,7 +12,7 @@ parent = "smn_cli"
12 12
 # plugin ls (experimental)
13 13
 
14 14
 ```markdown
15
-Usage:  docker plugin ls
15
+Usage:  docker plugin ls [OPTIONS]
16 16
 
17 17
 List plugins
18 18