]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: shred: clarify what --verbose outputs
authorPádraig Brady <P@draigBrady.com>
Fri, 14 Nov 2025 13:23:09 +0000 (13:23 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 14 Nov 2025 13:23:09 +0000 (13:23 +0000)
* doc/coreutils.texi (shred invocation): Give more details on what
--verbose outputs, to give some indication of its utility.
* src/shred.c (usage): Likewise.  Also since we're changing the string,
split out translations to give translators more granular translations.

doc/coreutils.texi
src/shred.c

index b4206069db3ececf9b7b11a8d01be1d28ac9adca..0218a76c84a88640b83b46705af49cb6a9b98da8 100644 (file)
@@ -10883,6 +10883,7 @@ synchronous metadata updates.
 @opindex -v
 @opindex --verbose
 Display to standard error all status updates as sterilization proceeds.
+This details each data and metadata operation as it is performed.
 
 @item -x
 @itemx --exact
index f2af243980069ab9d477787c6cac97a645c20f8d..a054aa5ce5a1953d56ea23e11fcba8d032b29ec2 100644 (file)
@@ -187,9 +187,15 @@ If FILE is -, shred standard output.\n\
       fputs (_("\
   -u             deallocate and remove file after overwriting\n\
       --remove[=HOW]  like -u but give control on HOW to delete;  See below\n\
-  -v, --verbose  show progress\n\
+"), stdout);
+      fputs (_("\
+  -v, --verbose  show details of data and metadata operations performed\n\
+"), stdout);
+      fputs (_("\
   -x, --exact    do not round file sizes up to the next full block;\n\
                    this is the default for non-regular files\n\
+"), stdout);
+      fputs (_("\
   -z, --zero     add a final overwrite with zeros to hide shredding\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);