summaryrefslogtreecommitdiff
path: root/src/shred.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-01-13 13:35:17 +0000
committerJim Meyering <jim@meyering.net>2003-01-13 13:35:17 +0000
commit8355da54920a831e40f37bae29037e63ff3228b3 (patch)
tree5ca1f1bed9e39015de7f3305076081d4e57ad9dc /src/shred.c
parent01f012f2f52a9733cbc797a2cbfa62ff3237338a (diff)
downloadcoreutils-8355da54920a831e40f37bae29037e63ff3228b3.tar.xz
(long_opts): --zero does not require an argument.
Patch by Michael Stone.
Diffstat (limited to 'src/shred.c')
-rw-r--r--src/shred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shred.c b/src/shred.c
index e120ff6b3..be377b18a 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -140,7 +140,7 @@ static struct option const long_opts[] =
{"size", required_argument, NULL, 's'},
{"remove", no_argument, NULL, 'u'},
{"verbose", no_argument, NULL, 'v'},
- {"zero", required_argument, NULL, 'z'},
+ {"zero", no_argument, NULL, 'z'},
{GETOPT_HELP_OPTION_DECL},
{GETOPT_VERSION_OPTION_DECL},
{NULL, 0, NULL, 0}