doc: shred: clarify what --verbose outputs

* 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.
This commit is contained in:
Pádraig Brady committed 2025-11-14 13:23:09 +00:00
1 parent 57b3ccc9b0
commit faf8d8998c
2 files changed
+8 -1

No files matched your search

+1
View 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
+7 -1
View 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);