mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Miss the options in some commands
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
198024bf37
commit
b8af6b579b
4 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ func newListCommand(dockerCli *client.DockerCli) *cobra.Command {
|
||||||
var opts listOptions
|
var opts listOptions
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "ls",
|
Use: "ls [OPTIONS]",
|
||||||
Short: "List plugins",
|
Short: "List plugins",
|
||||||
Aliases: []string{"list"},
|
Aliases: []string{"list"},
|
||||||
Args: cli.NoArgs,
|
Args: cli.NoArgs,
|
||||||
|
|
|
@ -27,7 +27,7 @@ func NewInfoCommand(dockerCli *client.DockerCli) *cobra.Command {
|
||||||
var opts infoOptions
|
var opts infoOptions
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "info",
|
Use: "info [OPTIONS]",
|
||||||
Short: "Display system-wide information",
|
Short: "Display system-wide information",
|
||||||
Args: cli.NoArgs,
|
Args: cli.NoArgs,
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|
|
@ -11,7 +11,7 @@ parent = "smn_cli"
|
||||||
# info
|
# info
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Usage: docker info
|
Usage: docker info [OPTIONS]
|
||||||
|
|
||||||
Display system-wide information
|
Display system-wide information
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ parent = "smn_cli"
|
||||||
# plugin ls (experimental)
|
# plugin ls (experimental)
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
Usage: docker plugin ls
|
Usage: docker plugin ls [OPTIONS]
|
||||||
|
|
||||||
List plugins
|
List plugins
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue