Skip to content
Myr

Issue 624 newer older help text (#733)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* 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

authored by Andrew Mitchell · committed by GitHub · parent efc71bc · Browse files · 1 file+7 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−4 removed

  • other:+7 added−4 removed

1 file+7 added−4 removed

modified:src/app.rs+7 added-4 removed
440 unmodified lines
441 .help("Filter by file modification time (newer than)")442 .long_help(443 "Filter results based on the file modification time. The argument can be provided \444 as a specific point in time (YYYY-MM-DD HH:MM:SS) or as a duration (10h, 1d, 35min). \445 '--change-newer-than' can be used as an alias.\n\445 If the time is not specified, it defaults to 00:00:00. \446 '--change-newer-than' or '--newer' can be used as aliases.\n\447 Examples:\n \448 --changed-within 2weeks\n \448 --change-newer-than '2018-10-27 10:00:00'",449 --change-newer-than '2018-10-27 10:00:00'\n \450 --newer 2018-10-27",451 ),452 )453 .arg(454 Arg::with_name("changed-before")
6 unmodified lines
461 .help("Filter by file modification time (older than)")462 .long_help(463 "Filter results based on the file modification time. The argument can be provided \464 as a specific point in time (YYYY-MM-DD HH:MM:SS) or as a duration (10h, 1d, 35min). \463 '--change-older-than' can be used as an alias.\n\465 '--change-older-than' or '--older' can be used as aliases.\n\466 Examples:\n \467 --changed-before '2018-10-27 10:00:00'\n \466 --change-older-than 2weeks",468 --change-older-than 2weeks\n \469 --older 2018-10-27",470 ),471 )472 .arg(473 Arg::with_name("max-results")
130 unmodified lines