summaryrefslogtreecommitdiff
path: root/doc/genfile.texi
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-03-18 22:16:46 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-03-18 22:16:46 +0200
commitec72abd9dd63bbff4534ec77e97b1a6cadfc3cf8 (patch)
tree88cec8c9a7804568b43fdaa1d3c764fc591a910e /doc/genfile.texi
parent58b8ac114790e2de7992db1a387ec14238783f39 (diff)
downloadpaxutils-ec72abd9dd63bbff4534ec77e97b1a6cadfc3cf8.tar.gz
genfile: new option --quiet
* tests/genfile.c: New option --quite: suppress error exit if the created file is not sparse. * doc/genfile.texi: Document --quiet.
Diffstat (limited to 'doc/genfile.texi')
-rw-r--r--doc/genfile.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/genfile.texi b/doc/genfile.texi
index bd2e505..e35f34b 100644
--- a/doc/genfile.texi
+++ b/doc/genfile.texi
@@ -181,8 +181,14 @@ letters @samp{A}, @samp{B}, @samp{C} and @samp{D}.
@item 1053184 @tab 2048000 @tab Zero bytes
@end multitable
- The exit code of @command{genfile --status} command is @code{0}
-only if created file is actually sparse.
+@cindex --quite, option
+ The exit code of @command{genfile --sparse} command is @code{0}
+only if created file is actually sparse. If it is not, the
+appropriate error message is displayed and the command exists with
+code @code{1}. The @option{--quite} (@option{-q}) option suppresses
+this behavior. If @option{--quite} is given, @command{genfile
+--sparse} exits with code @code{0} if it was able to create the file,
+whether the resulting file is sparse or not.
@node Status Mode
@appendixsec Status Mode