mirror of
https://github.com/sharkdp/fd
synced 2024-09-06 00:33:23 +00:00
Add note about short and long help text, closes #286
This commit is contained in:
parent
a17a3fe5ef
commit
985fab16bb
|
@ -42,6 +42,8 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.usage("fd [FLAGS/OPTIONS] [<pattern>] [<path>...]")
|
||||
.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"))
|
||||
|
|
Loading…
Reference in a new issue