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

CLI: Display output format choices within crash --help #412

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Nov 22, 2023

About

Display the list of available output format choices right away within crash --help, to improve guidance. Thank you for this suggestion, @mfussenegger, it will resolve GH-409.

Screenshot

crash --help

[...]

  --format FORMAT       the output FORMAT of the SQL response. choose one of: tabular,
                        json, csv, raw, mixed, dynamic, json_row

Previously, it was not easy to discover which value to supply to the
`--format` command-line argument of `crash`.
@amotl amotl changed the title CLI: Add possible output format choices for --format argument CLI: Display output format choices within crash --help Nov 22, 2023
@amotl amotl marked this pull request as ready for review November 22, 2023 23:51
@amotl amotl merged commit 7f7ab2e into master Nov 23, 2023
21 checks passed
@amotl amotl deleted the amo/output-format-help branch November 23, 2023 18:26
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

Successfully merging this pull request may close these issues.

Make it easier to discover available output formats
2 participants