OSDN Git Service

Use -V instead of -v option to print version for consistency with other utilities.
authorresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Thu, 28 Mar 2013 16:51:12 +0000 (16:51 +0000)
committerresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Thu, 28 Mar 2013 16:51:12 +0000 (16:51 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@348 60bc1c72-a15a-11de-b98f-4500b42dc123

dump/dumpexfat.8
dump/main.c
fsck/exfatfsck.8
fsck/main.c
fuse/main.c
fuse/mount.exfat-fuse.8
label/exfatlabel.8
label/main.c
mkfs/main.c
mkfs/mkexfatfs.8

index 36fb28a..7fea065 100644 (file)
@@ -13,7 +13,7 @@
 .B \-u
 ]
 [
-.B \-v
+.B \-V
 ]
 .I device
 
@@ -33,7 +33,7 @@ systems.
 Dump ranges of used sectors starting from 0 and separated with spaces. May be
 useful for backup tools.
 .TP
-.BI \-v
+.BI \-V
 Print version and copyright.
 
 .SH EXIT CODES
index fa80903..b4fad19 100644 (file)
@@ -140,7 +140,7 @@ static int dump_full(const char* spec, bool used_sectors)
 
 static void usage(const char* prog)
 {
-       fprintf(stderr, "Usage: %s [-s] [-u] [-v] <device>\n", prog);
+       fprintf(stderr, "Usage: %s [-s] [-u] [-V] <device>\n", prog);
        exit(1);
 }
 
@@ -160,7 +160,7 @@ int main(int argc, char* argv[])
                        sb_only = true;
                else if (strcmp(*pp, "-u") == 0)
                        used_sectors = true;
-               else if (strcmp(*pp, "-v") == 0)
+               else if (strcmp(*pp, "-V") == 0)
                {
                        puts("Copyright (C) 2011-2013  Andrew Nayenko");
                        return 0;
index 985500c..40d7c85 100644 (file)
@@ -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
index 9eefd74..8e305d3 100644 (file)
@@ -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;
index 99b4ae0..9b59c54 100644 (file)
@@ -292,7 +292,7 @@ static void fuse_exfat_destroy(void* unused)
 
 static void usage(const char* prog)
 {
-       fprintf(stderr, "Usage: %s [-d] [-o options] [-v] <device> <dir>\n", prog);
+       fprintf(stderr, "Usage: %s [-d] [-o options] [-V] <device> <dir>\n", prog);
        exit(1);
 }
 
@@ -423,7 +423,7 @@ int main(int argc, char* argv[])
                }
                else if (strcmp(*pp, "-d") == 0)
                        debug = 1;
-               else if (strcmp(*pp, "-v") == 0)
+               else if (strcmp(*pp, "-V") == 0)
                {
                        free(mount_options);
                        puts("Copyright (C) 2010-2013  Andrew Nayenko");
index aeec5d8..0c276de 100644 (file)
@@ -16,7 +16,7 @@ mount.exfat-fuse \- mount an exFAT file system
 .I options
 ]
 [
-.B \-v
+.B \-V
 ]
 .I device dir
 
@@ -41,7 +41,7 @@ File system specific options. For more details see
 .B FILE SYSTEM OPTIONS
 section below.
 .TP
-.BI \-v
+.BI \-V
 Print version and copyright.
 
 .SH FILE SYSTEM OPTIONS
index 429f3cc..dd2ef1c 100644 (file)
@@ -7,7 +7,7 @@
 .SH SYNOPSIS
 .B exfatlabel
 [
-.B \-v
+.B \-V
 ]
 .I device
 [
@@ -35,7 +35,7 @@ just prints current volume name.
 .SH COMMAND LINE OPTIONS
 Command line options available:
 .TP
-.BI \-v
+.BI \-V
 Print version and copyright.
 
 .SH EXIT CODES
index 8a429d5..5595035 100644 (file)
@@ -29,7 +29,7 @@ int main(int argc, char* argv[])
        int rc = 0;
 
        for (pp = argv + 1; *pp; pp++)
-               if (strcmp(*pp, "-v") == 0)
+               if (strcmp(*pp, "-V") == 0)
                {
                        printf("exfatlabel %u.%u.%u\n", EXFAT_VERSION_MAJOR,
                                        EXFAT_VERSION_MINOR, EXFAT_VERSION_PATCH);
@@ -39,7 +39,7 @@ int main(int argc, char* argv[])
 
        if (argc != 2 && argc != 3)
        {
-               fprintf(stderr, "Usage: %s [-v] <device> [label]\n", argv[0]);
+               fprintf(stderr, "Usage: %s [-V] <device> [label]\n", argv[0]);
                return 1;
        }
 
index 89dc3d0..247cc49 100644 (file)
@@ -188,7 +188,7 @@ static void usage(const char* prog)
 {
        fprintf(stderr, "Usage: %s [-i volume-id] [-n label] "
                        "[-p partition-first-sector] "
-                       "[-s sectors-per-cluster] [-v] <device>\n", prog);
+                       "[-s sectors-per-cluster] [-V] <device>\n", prog);
        exit(1);
 }
 
@@ -240,7 +240,7 @@ int main(int argc, char* argv[])
                                usage(argv[0]);
                        first_sector = strtoll(*pp, NULL, 10);
                }
-               else if (strcmp(*pp, "-v") == 0)
+               else if (strcmp(*pp, "-V") == 0)
                {
                        puts("Copyright (C) 2011-2013  Andrew Nayenko");
                        return 0;
index 7d3ffec..5f6ba3d 100644 (file)
@@ -23,7 +23,7 @@
 .I sectors-per-cluster
 ]
 [
-.B \-v
+.B \-V
 ]
 .I device
 
@@ -55,7 +55,7 @@ exceed 32 MB. Default cluster sizes are:
 32 KB if volume size is from 256 MB to 32 GB,
 128 KB if volume size is 32 GB or larger.
 .TP
-.BI \-v
+.BI \-V
 Print version and copyright.
 
 .SH EXIT CODES