Merge pull request #28045 from vincentbernat/fix/inspect-short-description
cli: shorten description of "inspect" subcommand
This commit is contained in:
commit
16bcc1afdd
1 changed files with 3 additions and 6 deletions
|
@ -25,12 +25,9 @@ func NewInspectCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
var opts inspectOptions
|
var opts inspectOptions
|
||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "inspect [OPTIONS] NAME|ID [NAME|ID...]",
|
Use: "inspect [OPTIONS] NAME|ID [NAME|ID...]",
|
||||||
Short: strings.Join([]string{
|
Short: "Return low-level information on Docker objects",
|
||||||
"Return low-level information on Docker object(s) (e.g. container, image, volume,",
|
Args: cli.RequiresMinArgs(1),
|
||||||
"\nnetwork, node, service, or task) identified by name or ID",
|
|
||||||
}, ""),
|
|
||||||
Args: cli.RequiresMinArgs(1),
|
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
opts.ids = args
|
opts.ids = args
|
||||||
return runInspect(dockerCli, opts)
|
return runInspect(dockerCli, opts)
|
||||||
|
|
Loading…
Reference in a new issue