fuse-overlayfs: honor --help and --version

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2018-12-11 12:07:52 +01:00
parent 3d48bf9a82
commit 05843eb2af
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

8
main.c
View File

@ -3523,6 +3523,14 @@ fuse_opt_proc (void *data, const char *arg, int key, struct fuse_args *outargs)
if (strcmp (arg, "-f") == 0) if (strcmp (arg, "-f") == 0)
return 1; return 1;
if (strcmp (arg, "--help") == 0)
return 1;
if (strcmp (arg, "-h") == 0)
return 1;
if (strcmp (arg, "--version") == 0)
return 1;
if (strcmp (arg, "-V") == 0)
return 1;
if (strcmp (arg, "--debug") == 0) if (strcmp (arg, "--debug") == 0)
return 1; return 1;