OSDN Git Service

Allow -v option for compatibility with mount utility (it passes -v to its helpers).
authorresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Fri, 29 Mar 2013 06:38:16 +0000 (06:38 +0000)
committerresver@gmail.com <resver@gmail.com@60bc1c72-a15a-11de-b98f-4500b42dc123>
Fri, 29 Mar 2013 06:38:16 +0000 (06:38 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@350 60bc1c72-a15a-11de-b98f-4500b42dc123

fuse/main.c
fuse/mount.exfat-fuse.8

index 6ce4999..7a58b8e 100644 (file)
@@ -410,7 +410,7 @@ int main(int argc, char* argv[])
                return 1;
        }
 
-       while ((opt = getopt(argc, argv, "dno:V")) != -1)
+       while ((opt = getopt(argc, argv, "dno:Vv")) != -1)
        {
                switch (opt)
                {
@@ -428,6 +428,8 @@ int main(int argc, char* argv[])
                        free(mount_options);
                        puts("Copyright (C) 2010-2013  Andrew Nayenko");
                        return 0;
+               case 'v':
+                       break;
                default:
                        free(mount_options);
                        usage(argv[0]);
index 0c276de..5200c10 100644 (file)
@@ -18,6 +18,9 @@ mount.exfat-fuse \- mount an exFAT file system
 [
 .B \-V
 ]
+[
+.B \-v
+]
 .I device dir
 
 .SH DESCRIPTION
@@ -43,6 +46,9 @@ section below.
 .TP
 .BI \-V
 Print version and copyright.
+.TP
+.BI \-v
+Ignored.
 
 .SH FILE SYSTEM OPTIONS
 .TP