document in readme about t-archive's --time
This commit is contained in:
parent
152d67b664
commit
5807ed23cd
|
@ -145,9 +145,10 @@ You can archive entries from a timesheet using:
|
||||||
which defaults to archiving all entries in the current sheet, or you can be more
|
which defaults to archiving all entries in the current sheet, or you can be more
|
||||||
specific using these options:
|
specific using these options:
|
||||||
|
|
||||||
-s, --start <date:qs> Include entries that start on this date or later
|
-s, --start <date:qs> Include entries that start on this date or later.
|
||||||
-e, --end <date:qs> Include entries that start on this date or earlier
|
-e, --end <date:qs> Include entries that start on this date or earlier.
|
||||||
-g, --grep <regexp> Include entries where the note matches this regexp.
|
-g, --grep <regexp> Include entries where the note matches this regexp.
|
||||||
|
-t, --time <hours> Only archive up to `hours` hours.
|
||||||
|
|
||||||
This subcommand will move the selected entries to a hidden timesheet named
|
This subcommand will move the selected entries to a hidden timesheet named
|
||||||
`_[SHEET]` (the name of the timesheet preceded by an underscore).
|
`_[SHEET]` (the name of the timesheet preceded by an underscore).
|
||||||
|
|
|
@ -154,7 +154,7 @@ fn main() {
|
||||||
)
|
)
|
||||||
.arg(Arg::with_name("time")
|
.arg(Arg::with_name("time")
|
||||||
.short("t").long("time")
|
.short("t").long("time")
|
||||||
.takes_value(true)
|
.takes_value(true).value_name("HOURS")
|
||||||
.help("Time in hours to archive. Archived time will be equal or less than this.")
|
.help("Time in hours to archive. Archived time will be equal or less than this.")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue