From 14b1e9152113d2f0aac46077bab2d2db66735ab4 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 18 Feb 2020 11:09:10 -0500 Subject: [PATCH] Add support for debug to match help The help message that is printed does not match reality for the command line. Signed-off-by: Daniel J Walsh --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 80c0f89..7d1412d 100644 --- a/main.c +++ b/main.c @@ -4952,7 +4952,8 @@ fuse_opt_proc (void *data, const char *arg, int key, struct fuse_args *outargs) return 1; if (strcmp (arg, "-V") == 0) return 1; - if (strcmp (arg, "--debug") == 0) + if ((strcmp (arg, "--debug") == 0) || (strcmp (arg, "-d") == 0) || + (strcmp (arg, "debug") == 0)) { ovl_data->debug = 1; return 1;