-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
bugSomething isn't workingSomething isn't working
Description
The CLI help flags -h and --help do not work as expected. Users cannot display usage information reliably, which impacts basic discoverability and usability.
Expected behavior
• Running <tool> -h or <tool> --help prints the help/usage output to stdout and exits with code 0.
• Help is displayed without requiring any other arguments.
• Help output is consistent and includes:
• Short description
• Usage line(s)
• Options list (including -h, --help)
• Examples (if applicable)
Actual behavior
• -h/--help does not display help and/or returns an error / non-zero exit code / continues execution / triggers argument parsing failure.
Steps to reproduce
1. Run: <tool> -h
2. Run: <tool> --help
3. Observe behavior.
Notes / hypothesis (optional)
• Help flags may not be registered in the argument parser, or they are being overridden by a custom parsing routine.
• In some CLI parsers, -h/--help is disabled by default (or conflicts with subcommands) unless explicitly enabled.
Acceptance criteria
• -h and --help always print help and exit 0.
• Help works for:
• root command
• each subcommand (if any): <tool> <subcmd> -h
• No regression on existing argument validation.
• Add a minimal test (if tests exist) asserting help behavior and exit code.
Labels
• bug
• cli
• priority:high (optionnel)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working