Skip to content

Commit

Permalink
Merge pull request #1053 from HusterWan/zr/fix-command-option
Browse files Browse the repository at this point in the history
doc: fix  image inspect and network inspect command docs
  • Loading branch information
allencloud authored Apr 4, 2018
2 parents 95b9d9c + 7f7eb14 commit eb8484d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cli/image_inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ type ImageInspectCommand struct {
func (i *ImageInspectCommand) Init(c *Cli) {
i.cli = c
i.cmd = &cobra.Command{
Use: "inspect [OPTIONS] IMAGE",
Short: "Display detailed information on one image",
Use: "inspect [OPTIONS] IMAGE [IMAGE...]",
Short: "Display detailed information on one or more images",
Long: imageInspectDescription,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
4 changes: 2 additions & 2 deletions cli/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ func (n *NetworkInspectCommand) Init(c *Cli) {
n.cli = c

n.cmd = &cobra.Command{
Use: "inspect [OPTIONS] NAME",
Short: "Inspect a pouch network",
Use: "inspect [OPTIONS] Network [Network...]",
Short: "Inspect one or more pouch networks",
Long: networkInspectDescription,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit eb8484d

Please sign in to comment.