From 985fab16bbe50d35216531b9f7476a3f33e55522 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 1 Jan 2019 17:40:30 +0100 Subject: [PATCH] Add note about short and long help text, closes #286 --- src/app.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app.rs b/src/app.rs index e8f7142..e3cb33a 100644 --- a/src/app.rs +++ b/src/app.rs @@ -42,6 +42,8 @@ pub fn build_app() -> App<'static, 'static> { .usage("fd [FLAGS/OPTIONS] [] [...]") .setting(AppSettings::ColoredHelp) .setting(AppSettings::DeriveDisplayOrder) + .after_help("Note: `fd -h` prints a short and concise overview while `fd --help` \ + gives all details.") .arg(arg("hidden").long("hidden").short("H")) .arg(arg("no-ignore").long("no-ignore").short("I")) .arg(arg("no-ignore-vcs").long("no-ignore-vcs"))