google / google/argh

Switch chaining like `-vv` for verbosity?

Open
#26 2 comments 7 reactions 0 assignees View on GitHub
enhancement help wanted spec-change-required
Dominant language
Rust
Stars
2k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Is it possible to allow switch chaining like `-vv` for verbosity?

With this
```rust
/// verbosity level
#[argh(switch, short = 'v')]
verbosity: u8,
```

it only allows `-v -v`, not `-v 2` or `-vv`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.