From 6365eeb0ceda9262c4b06189a3b4246f2bf8bbc0 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 3 Jun 2021 20:03:52 -0500 Subject: [PATCH] docs(cli): Clarify help string for 'exclude' Fixes #269 --- src/bin/typos-cli/args.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/typos-cli/args.rs b/src/bin/typos-cli/args.rs index 7941c80..c42f617 100644 --- a/src/bin/typos-cli/args.rs +++ b/src/bin/typos-cli/args.rs @@ -200,8 +200,8 @@ impl ConfigArgs { #[derive(Debug, StructOpt)] #[structopt(rename_all = "kebab-case")] pub(crate) struct WalkArgs { - #[structopt(long)] - /// Ignore all files & directories matching the pattern. + #[structopt(long, name = "GLOB")] + /// Ignore files & directories matching the glob. exclude: Vec, #[structopt(long, overrides_with("no-hidden"))]