mirror of https://github.com/sharkdp/fd.git
Issue 624 newer older help text (#733)
* Document the newer and older aliases in the help text * Documentation for new older aliases, remove commas * Adds better clarification on alias usage for newer and older * Fixes inconsistencies in help text for newer and older aliases
This commit is contained in:
parent
efc71bc00b
commit
cb385a4822
11
src/app.rs
11
src/app.rs
|
@ -442,10 +442,12 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long_help(
|
||||
"Filter results based on the file modification time. The argument can be provided \
|
||||
as a specific point in time (YYYY-MM-DD HH:MM:SS) or as a duration (10h, 1d, 35min). \
|
||||
'--change-newer-than' can be used as an alias.\n\
|
||||
If the time is not specified, it defaults to 00:00:00. \
|
||||
'--change-newer-than' or '--newer' can be used as aliases.\n\
|
||||
Examples:\n \
|
||||
--changed-within 2weeks\n \
|
||||
--change-newer-than '2018-10-27 10:00:00'",
|
||||
--change-newer-than '2018-10-27 10:00:00'\n \
|
||||
--newer 2018-10-27",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
|
@ -460,10 +462,11 @@ pub fn build_app() -> App<'static, 'static> {
|
|||
.long_help(
|
||||
"Filter results based on the file modification time. The argument can be provided \
|
||||
as a specific point in time (YYYY-MM-DD HH:MM:SS) or as a duration (10h, 1d, 35min). \
|
||||
'--change-older-than' can be used as an alias.\n\
|
||||
'--change-older-than' or '--older' can be used as aliases.\n\
|
||||
Examples:\n \
|
||||
--changed-before '2018-10-27 10:00:00'\n \
|
||||
--change-older-than 2weeks",
|
||||
--change-older-than 2weeks\n \
|
||||
--older 2018-10-27",
|
||||
),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Reference in New Issue