google / google/argh

[Request] better raw identifier support

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

Description

```rust
#[derive(FromArgs, Debug)]
/// tool
pub struct Config {
#[argh(option)]
/// run forever. Exit with Ctrl-C.
pub r#loop: bool,
}
```

```
$ tool --loop
Required options not provided:
--r-loop
```

Obviously, here the flag should be `loop` not `r-loop` :)

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.