summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-17 19:43:05 +0000
committerJim Meyering <jim@meyering.net>2000-07-17 19:43:05 +0000
commit6859252584eff7286815982be70239ff45123473 (patch)
treed7b7d7ec4dc34c3789116602ec96bde67d4fbb25 /src/shred.c
parent870d8663fb2e8455897ba88f86aa8c2632b2d35c (diff)
downloadcoreutils-6859252584eff7286815982be70239ff45123473.tar.xz
(usage): Give a little more info.
Remove FIXME comment.
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/shred.c b/src/shred.c
index 365d7c5f1..aa2da631e 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -462,7 +462,8 @@ usage (int status)
{
printf (_("Usage: %s [OPTIONS] FILE [...]\n"), program_name);
printf (_("\
-Delete a file securely, first overwriting it to hide its contents.\n\
+Overwrite the specified FILE(s) repeatedly, in order to make it harder\n\
+for even very expensive hardware probing to recover the data.\n\
\n\
-f, --force change permissions to allow writing if necessary\n\
-n, --iterations=N Overwrite N times instead of the default (%d)\n\
@@ -475,7 +476,11 @@ Delete a file securely, first overwriting it to hide its contents.\n\
--help display this help and exit\n\
--version print version information and exit\n\
\n\
-FIXME maybe add more discussion here?"), DEFAULT_PASSES);
+Delete FILE(s) if --remove (-u) is specified. The default is not to remove\n\
+the files because it is common to operate on device files like /dev/hda,\n\
+and those files usually should not be removed. When operating on regular\n\
+files, most people use the --remove option.\n\
+"), DEFAULT_PASSES);
puts (_("\nReport bugs to <bug-fileutils@gnu.org>."));
}
exit (status);