From 9c1a98adb79692fcfbaefb97ca31a29c63f24742 Mon Sep 17 00:00:00 2001 From: pantonshire Date: Mon, 19 Sep 2022 13:09:42 +0100 Subject: [PATCH] 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. --- utfdump_bin/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/utfdump_bin/src/main.rs b/utfdump_bin/src/main.rs index c476a32..53338bb 100644 --- a/utfdump_bin/src/main.rs +++ b/utfdump_bin/src/main.rs @@ -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, }