From: relan Date: Fri, 29 Mar 2013 06:38:16 +0000 (+0000) Subject: Allow -v option for compatibility with mount utility. X-Git-Tag: android-x86-6.0-r1~104 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-exfat.git;a=commitdiff_plain;h=844805a38fd814ad2ff83dda7f9aad5c52838741 Allow -v option for compatibility with mount utility. mount passes -v to its helpers. --- diff --git a/fuse/main.c b/fuse/main.c index 6ce4999..7a58b8e 100644 --- a/fuse/main.c +++ b/fuse/main.c @@ -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]); diff --git a/fuse/mount.exfat-fuse.8 b/fuse/mount.exfat-fuse.8 index 0c276de..5200c10 100644 --- a/fuse/mount.exfat-fuse.8 +++ b/fuse/mount.exfat-fuse.8 @@ -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