add help text for -f flag
This patch adds a documentation comment to `Args.full_category_names`, which `clap` uses to generate help text for the `-f` flag.
This commit is contained in:
1 parent
22d7e6a2a7
commit
9c1a98adb7
1 file changed
+1
@@ -11,6 +11,7 @@ const UNICODE_DATA: &[u8] = include_bytes!(concat!(env!("OUT_DIR"), "/unicode_da
|
||||
#[derive(Parser)]
|
||||
#[clap(author, version, about, long_about = None)]
|
||||
struct Args {
|
||||
/// Display category names in plain English, rather than using their abbreviated names
|
||||
#[clap(short, long, action)]
|
||||
full_category_names: bool,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user