diff --git a/docs/yaml/generate.go b/docs/yaml/generate.go index 7244f02e69..ff451c1920 100644 --- a/docs/yaml/generate.go +++ b/docs/yaml/generate.go @@ -21,7 +21,10 @@ func generateCliYaml(opts *options) error { if err != nil { return err } - cmd := &cobra.Command{Use: "docker"} + cmd := &cobra.Command{ + Use: "docker [OPTIONS] COMMAND [ARG...]", + Short: "The base command for the Docker CLI.", + } commands.AddCommands(cmd, dockerCli) disableFlagsInUseLine(cmd) source := filepath.Join(opts.source, descriptionSourcePath)