mirror of https://github.com/docker/cli.git
Merge pull request #2454 from thaJeztah/fix_yaml_description
yamldocs: add description to base command
This commit is contained in:
commit
9ac6673740
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue