aboutsummaryrefslogtreecommitdiffstats
path: root/fsck
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2013-03-28 16:51:12 +0000
committerrelan <relan@users.noreply.github.com>2015-08-24 08:26:15 +0300
commit8ba82142027e778a89375fb28c1ba1b2359d7507 (patch)
treea4f890ae09048426761d84b6623cacf26ea6151c /fsck
parent18fc37c643abf0a5388f77465b7e9d23f8cb6de6 (diff)
downloadandroid_external_exfat-8ba82142027e778a89375fb28c1ba1b2359d7507.tar.gz
android_external_exfat-8ba82142027e778a89375fb28c1ba1b2359d7507.tar.bz2
android_external_exfat-8ba82142027e778a89375fb28c1ba1b2359d7507.zip
Use -V instead of -v option to print version.
This is more consistent with other utilities.
Diffstat (limited to 'fsck')
-rw-r--r--fsck/exfatfsck.84
-rw-r--r--fsck/main.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/fsck/exfatfsck.8 b/fsck/exfatfsck.8
index 985500c..40d7c85 100644
--- a/fsck/exfatfsck.8
+++ b/fsck/exfatfsck.8
@@ -7,7 +7,7 @@
.SH SYNOPSIS
.B exfatfsck
[
-.B \-v
+.B \-V
]
.I device
@@ -19,7 +19,7 @@ FS, it just reports found errors.
.SH COMMAND LINE OPTIONS
Command line options available:
.TP
-.BI \-v
+.BI \-V
Print version and copyright.
.SH EXIT CODES
diff --git a/fsck/main.c b/fsck/main.c
index 9eefd74..8e305d3 100644
--- a/fsck/main.c
+++ b/fsck/main.c
@@ -124,7 +124,7 @@ static void fsck(struct exfat* ef)
static void usage(const char* prog)
{
- fprintf(stderr, "Usage: %s [-v] <device>\n", prog);
+ fprintf(stderr, "Usage: %s [-V] <device>\n", prog);
exit(1);
}
@@ -139,7 +139,7 @@ int main(int argc, char* argv[])
for (pp = argv + 1; *pp; pp++)
{
- if (strcmp(*pp, "-v") == 0)
+ if (strcmp(*pp, "-V") == 0)
{
puts("Copyright (C) 2011-2013 Andrew Nayenko");
return 0;