Skip to content

Add help <command> as alias for <command> --help#25001

Closed
Sophist-UK wants to merge 2 commits into
ggml-org:masterfrom
Sophist-UK:patch-2
Closed

Add help <command> as alias for <command> --help#25001
Sophist-UK wants to merge 2 commits into
ggml-org:masterfrom
Sophist-UK:patch-2

Conversation

@Sophist-UK

Copy link
Copy Markdown

Overview

Allow user to use e.g. llama help serve" as an alias for llama serve --help`.

  1. Adds a helper to check if help target is a valid command
  2. Calls recursively with the alias.

Requirements

Allow user to use e.g. `llama help serve" as an alias for `llama serve --help`.

1. Adds a helper to check if help target is a valid command
2. Calls recursively with the alias.
@Sophist-UK

Sophist-UK commented Jun 25, 2026

Copy link
Copy Markdown
Author

This is a simple change - I am not a C++ coder, do not have a C++ development environment and have not checked this code is correct. I expect the CI to succeed once someone has enabled the workflows, and will fix it if it doesn't.

@am17an

am17an commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

We can't accept code you haven't even run

@am17an am17an closed this Jun 26, 2026
@Sophist-UK

Copy link
Copy Markdown
Author

If you had enabled the workflow, we could have confirmed that it ran.

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.

2 participants