mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
cli: shorten description of "inspect" subcommand
The short description should be kept short. Spanning on several lines is a bit ugly. A user can still get more information in the manual or we can expand the long description instead if we want (there is currently none). This reverts a bit of #26683. Signed-off-by: Vincent Bernat <vincent@bernat.im>
This commit is contained in:
parent
b2641bd9df
commit
3443668e04
1 changed files with 3 additions and 6 deletions
|
@ -26,10 +26,7 @@ func NewInspectCommand(dockerCli *command.DockerCli) *cobra.Command {
|
||||||
|
|
||||||
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,",
|
|
||||||
"\nnetwork, node, service, or task) identified by name or ID",
|
|
||||||
}, ""),
|
|
||||||
Args: cli.RequiresMinArgs(1),
|
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
|
||||||
|
|
Loading…
Reference in a new issue