Try to inline arguments in the usage string #163

Open
opened 2025-12-13 16:33:49 +01:00 by oysteikt · 1 comment
Owner

Would it be possible to hint at e.g. the --help flag by inlining it in the usage string?

Clap seems to suggest https://docs.rs/clap/latest/clap/struct.Command.html#method.override_usage as the only way to control it.

Would it be possible to hint at e.g. the `--help` flag by inlining it in the usage string? Clap seems to suggest https://docs.rs/clap/latest/clap/struct.Command.html#method.override_usage as the only way to control it.
oysteikt added the ui/ux label 2025-12-13 16:33:49 +01:00
oysteikt added this to the Initial release milestone 2025-12-13 16:49:43 +01:00
Author
Owner

Nope, not really, not automatically at least. We can add a plaintext note that you can add --help at the end of every subcommand. Either that, or just assume that people know

Nope, not really, not automatically at least. We can add a plaintext note that you can add `--help` at the end of every subcommand. Either that, or just assume that people know
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Projects/muscl#163