Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@default-format not correctly displayed in help output #54

Open
greg-1-anderson opened this issue Apr 13, 2017 · 0 comments
Open

@default-format not correctly displayed in help output #54

greg-1-anderson opened this issue Apr 13, 2017 · 0 comments

Comments

@greg-1-anderson
Copy link
Member

Steps to reproduce

Add @default-format: table to a command that does not define any @field-labels. Run help on that command.

Expected behavior

Help should say:

--format[=FORMAT]  Format the result data. ... [default: "table"]

Actual behavior

Help says:

--format[=FORMAT]  Format the result data. ... [default: "yaml"]

Note that the default from help overrides the default in @default-format when you run the command as well, so this bug effectively disables the @default-format annotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant