From a50e417c676dc867d6288aa15ef0385c7aa9cb5c Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Fri, 9 Sep 2022 00:09:26 -0600 Subject: [PATCH] Add action clap attribute to fixed_strings --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 5eada79..992c707 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -150,7 +150,7 @@ pub struct Opts { /// Treat the pattern as a literal string instead of a regular expression. Note /// that this also performs substring comparison. If you want to match on an /// exact filename, consider using '--glob'. - #[clap(long, short = 'F', alias = "literal", hide_short_help = true)] + #[clap(long, short = 'F', action, alias = "literal", hide_short_help = true)] pub fixed_strings: bool, /// Show absolute instead of relative paths ///