summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-05-29 14:09:37 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-05-29 14:09:37 +0300
commitd03eab65d31aa4be7682e9c0271b5793d8227698 (patch)
tree5bf1ea2b5c3714b3ac557b8b5abb40ed15016a56 /doc
parentec72abd9dd63bbff4534ec77e97b1a6cadfc3cf8 (diff)
downloadpaxutils-d03eab65d31aa4be7682e9c0271b5793d8227698.tar.gz
Improve genfile
* tests/genfile.c: Rename --unlink option to --delete, retaining old name as alias. Call unlink or rmdir depending on the type of the argument. * doc/genfile.texi: Document changes.
Diffstat (limited to 'doc')
-rw-r--r--doc/genfile.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/genfile.texi b/doc/genfile.texi
index e35f34b..58aa593 100644
--- a/doc/genfile.texi
+++ b/doc/genfile.texi
@@ -319,8 +319,10 @@ an almost arbitrary format (@pxref{Date input formats}).
@item --exec @var{command}
Execute given shell command.
-@item --unlink @var{file}
- Unlink the @var{file}.
+@item --delete @var{file}
+@itemx --unlink @var{file}
+ Delete the named file or directory. If deleting the directory, it
+must be empty.
@end table
Option @option{--verbose} instructs @command{genfile} to print on