Skip to content

cla history (with no other arguments) should return help for history #412

@hhorak

Description

@hhorak

When running c history with no further arguments (because I don't know them for my first attempt), I get the output similar to if the history positional argument would not exist:

$ c history
usage: c [--debug] [-h] [-v] {chat,feedback,history,shell} ...

The Command Line Assistant powered by RHEL Lightspeed is an optional generative AI assistant available within the RHEL command line
interface.

positional arguments:
  {chat,feedback,history,shell}
    chat                Command to ask a question to the LLM.
    feedback            Submit feedback about the Command Line Assistant responses and interactions.
    history             Manage Conversation History
    shell               Manage shell integrations

options:
  --debug               Enable debug logging information
  -h, --help            Show help message and exit.
  -v, --version         Show program version

By try and fail method I realized there is an extra argument required and that c history --help shows the necessary information. I believe that c history with no extra argument should behave the same as c history --help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions