mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-12 08:49:34 -04:00
fuse-overlayfs: honor --help and --version
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
3d48bf9a82
commit
05843eb2af
8
main.c
8
main.c
@ -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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user