google / google/argh

feat_req: allow custom `--help` when `help` feature is disabled

Open
#221 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to remove the restriction for allowing custom `--help` flag when the `help` feature is disabled?

I rly like the derive style and minimal bin size of argh. There's a specific way that I want my help message to be, and also having an empty `description` leaves an extra new line in the message, so in the end I'm rolling with my own `const HELP: &str = ...` that I'd like to dump since it'll be easier for me to customize/maintain anyways.

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by locating the restriction that rejects a custom `--help` when the `help` feature is disabled, then trace the derive-style configuration around it. Done means a custom help message is accepted without enabling the `help` feature, including when `description` is empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.