Skip to content

Commit dba2afa

Browse files
AndrewDDavisandreafrancia
authored andcommitted
add arguments to trash-restore manpage
1 parent b3e35f4 commit dba2afa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

man/man1/trash-restore.1

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ trash-restore \- Restore for Command line trash utility.
2222

2323
.SH "SYNOPSIS"
2424
.B trash-restore
25+
.RI [ OPTION ]
26+
\&...
27+
.RI [ PATH ]
2528

2629
.SH "DESCRIPTION"
2730
.PP
@@ -32,6 +35,27 @@ Trash Specification.
3235
It remembers the name, original path, deletion date, and permissions of
3336
each trashed file.
3437

38+
.SH "PATH"
39+
.TP
40+
Destination file path to restore from the trash. If omitted, an interactive
41+
selection interface is used.
42+
43+
.SH "OPTIONS"
44+
.IP "--overwrite"
45+
Overwrite existing files with files coming out of the trash.
46+
47+
.IP "--sort {date,path,none}"
48+
Sort list of restore candidates by given field (default: date).
49+
50+
.IP "--trash-dir=TRASHDIR"
51+
Restore from TRASHDIR, for files that were trashed using a custom TRASHDIR.
52+
53+
.IP "-h, --help"
54+
Show help message and exit.
55+
56+
.IP "--version"
57+
Show the program's version number and exit.
58+
3559
.SH "EXAMPLES"
3660
.nf
3761
$ trash-restore

0 commit comments

Comments
 (0)