Merge pull request #28045 from vincentbernat/fix/inspect-short-description

cli: shorten description of "inspect" subcommand
This commit is contained in:
Vincent Demeester 2016-11-04 08:15:49 +01:00 committed by GitHub
commit 16bcc1afdd

View file

@ -26,10 +26,7 @@ func NewInspectCommand(dockerCli *command.DockerCli) *cobra.Command {
cmd := &cobra.Command{
Use: "inspect [OPTIONS] NAME|ID [NAME|ID...]",
Short: strings.Join([]string{
"Return low-level information on Docker object(s) (e.g. container, image, volume,",
"\nnetwork, node, service, or task) identified by name or ID",
}, ""),
Short: "Return low-level information on Docker objects",
Args: cli.RequiresMinArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
opts.ids = args