summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc-utils/blkid.82
-rw-r--r--misc-utils/blkid.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/misc-utils/blkid.8 b/misc-utils/blkid.8
index 0d5f4235c..768a499f7 100644
--- a/misc-utils/blkid.8
+++ b/misc-utils/blkid.8
@@ -253,7 +253,7 @@ This option is only useful together with \fB-p\fR.
.BI \-U " uuid"
Look up the device that uses this filesystem \fIuuid\fR. For more details see the \fB-L\fR option.
.TP
-.B \-v
+.B \-V
Display version number and exit.
.SH "RETURN CODE"
If the specified token was found, or if any tags were shown from (specified)
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index 52e280f76..78e0a9383 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -88,7 +88,7 @@ static void usage(int error)
" -l look up only first device with token specified by -t\n"
" -L <label> convert LABEL to device name\n"
" -U <uuid> convert UUID to device name\n"
- " -v print version and exit\n"
+ " -V print version and exit\n"
" <dev> specify device(s) to probe (default: all devices)\n\n"
"Low-level probing options:\n"
" -p low-level superblocks probing (bypass cache)\n"
@@ -687,7 +687,7 @@ int main(int argc, char **argv)
atexit(close_stdout);
while ((c = getopt (argc, argv,
- "c:df:ghilL:n:ko:O:ps:S:t:u:U:w:v")) != EOF) {
+ "c:df:ghilL:n:ko:O:ps:S:t:u:U:w:Vv")) != EOF) {
err_exclusive_options(c, NULL, excl, excl_st);
@@ -785,6 +785,7 @@ int main(int argc, char **argv)
usage(err);
}
break;
+ case 'V':
case 'v':
version = 1;
break;