X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fuse%2Fguestmount.c;h=8d483b33bb5adeb228b30cf43238d8cdbbdb874c;hb=36d3a4ce53317b104d48b60c9fe1ed679065d1d4;hp=a0944909090b220754c03b087296cd7a0fa14472;hpb=0d6fd9e1d2488841c912c5351086e536772837ef;p=libguestfs.git diff --git a/fuse/guestmount.c b/fuse/guestmount.c index a094490..8d483b3 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -42,6 +42,7 @@ #include #include #include +#include #include #include @@ -932,6 +933,7 @@ usage (int status) " --selinux Enable SELinux support\n" " -v|--verbose Verbose messages\n" " -V|--version Display version and exit\n" + " -w|--rw Mount read-write\n" " -x|--trace Trace guestfs API calls\n" ), program_name, program_name, program_name); @@ -946,6 +948,8 @@ main (int argc, char *argv[]) bindtextdomain (PACKAGE, LOCALEBASEDIR); textdomain (PACKAGE); + parse_config (); + enum { HELP_OPTION = CHAR_MAX + 1 }; /* The command line arguments are broadly compatible with (a subset