argh icon indicating copy to clipboard operation
argh copied to clipboard

[Request] better raw identifier support

Open Geobert opened this issue 3 years ago • 0 comments

#[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 :)

Geobert avatar Mar 10 '21 17:03 Geobert