From 1a96544b29d6beaed780ef5571b9458653e98475 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 16 Apr 2020 09:58:15 +0200 Subject: [PATCH] Remove two options from short -h help text --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 7ca0271..5704bb6 100644 --- a/src/app.rs +++ b/src/app.rs @@ -37,7 +37,7 @@ pub fn build_app() -> App<'static, 'static> { Arg::with_name("no-ignore-vcs") .long("no-ignore-vcs") .overrides_with("no-ignore-vcs") - .help("Do not respect .gitignore files") + .hidden_short_help(true) .long_help( "Show search results from files and directories that would otherwise be \ ignored by '.gitignore' files.", @@ -103,7 +103,7 @@ pub fn build_app() -> App<'static, 'static> { .short("F") .alias("literal") .overrides_with("fixed-strings") - .help("Treat the pattern as a literal string") + .hidden_short_help(true) .long_help( "Treat the pattern as a literal string instead of a regular expression.", ),