diff options
author | Benno Schulenberg | 2011-08-03 10:23:08 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-08 11:58:47 +0200 |
commit | 11295cd10264460271481494983d58b9507b73e0 (patch) | |
tree | 3815a597e3850f669fd5e09cd9ea5e6e87a3ceb1 /misc-utils/wipefs.c | |
parent | findmnt: (man page) short option for --timeout is not -t but -w (diff) | |
download | kernel-qcow2-util-linux-11295cd10264460271481494983d58b9507b73e0.tar.gz kernel-qcow2-util-linux-11295cd10264460271481494983d58b9507b73e0.tar.xz kernel-qcow2-util-linux-11295cd10264460271481494983d58b9507b73e0.zip |
wipefs: change option -v to -V for --version; add it to man page
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'misc-utils/wipefs.c')
-rw-r--r-- | misc-utils/wipefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c index 09c6070ce..10102aea4 100644 --- a/misc-utils/wipefs.c +++ b/misc-utils/wipefs.c @@ -309,7 +309,7 @@ usage(FILE *out) " -n, --no-act do everything except the actual write() call\n" " -o, --offset <num> offset to erase, in bytes\n" " -p, --parsable print out in parsable instead of printable format\n" - " -v, --version output version information and exit\n")); + " -V, --version output version information and exit\n")); fprintf(out, _("\nFor more information see wipefs(8).\n")); @@ -330,7 +330,7 @@ main(int argc, char **argv) { "no-act", 0, 0, 'n' }, { "offset", 1, 0, 'o' }, { "parsable", 0, 0, 'p' }, - { "version", 0, 0, 'v' }, + { "version", 0, 0, 'V' }, { NULL, 0, 0, 0 } }; @@ -338,7 +338,7 @@ main(int argc, char **argv) bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); - while ((c = getopt_long(argc, argv, "ahno:pv", longopts, NULL)) != -1) { + while ((c = getopt_long(argc, argv, "ahno:pV", longopts, NULL)) != -1) { switch(c) { case 'a': all++; @@ -356,7 +356,7 @@ main(int argc, char **argv) case 'p': mode = WP_MODE_PARSABLE; break; - case 'v': + case 'V': printf(_("%s from %s\n"), program_invocation_short_name, PACKAGE_STRING); return EXIT_SUCCESS; |