Permalink
Browse files

Update documentation for rm time offsets.

  • Loading branch information...
1 parent 728cb8d commit 68572f50609f68a94b8f80f169818abb0574fd51 @jkarlson committed Mar 18, 2012
Showing with 4 additions and 1 deletion.
  1. +1 −1 fdo-trash.hs
  2. +3 −0 man/fdo-rm.txt
View
@@ -71,7 +71,7 @@ rmOptions =
, Option ['h'] ["help"] (NoArg (\opts -> opts{rmHelp=True})) "Print help"
, Option ['t'] ["time-offset"] (ReqArg (\offset opts ->
opts{rmTimeOffset=parse timeOffsetString "" offset}) "offset")
- "Specify time offset, default: 0d"
+ "Specify time offset suffixes ymdHMS supported, default: 0d"
, Option ['T'] ["trash-path"] (ReqArg (\path opts -> opts{rmTrash=Just path}) "path")
"Override Trash path autodetection."
]
View
@@ -1,5 +1,8 @@
[Description]
Moves files listed in parameters to Freedesktop Trashdir with properly formatted metadata.
+Time offset allows you to offset time into future '+' or past '-' in the
+deletion timestamp from current time. Time offset supports suffixes y, m, d, H,
+M and S for years, months, days, hours, minutes and seconds.
[Conforming to]
http://freedesktop.org/wiki/Specifications/trash-spec

0 comments on commit 68572f5

Please sign in to comment.