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.
main
pantonshire 3 years ago
parent 22d7e6a2a7
commit 9c1a98adb7

@ -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,
}

Loading…
Cancel
Save