Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update documentation for rm time offsets.

  • Loading branch information...
commit 68572f50609f68a94b8f80f169818abb0574fd51 1 parent 728cb8d
jkarlson authored

Showing 2 changed files with 4 additions and 1 deletion. Show diff stats Hide diff stats

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

0 comments on commit 68572f5

Please sign in to comment.
Something went wrong with that request. Please try again.