From b3533a3f9ec30fc4cfe0e3460993d38fe22bc1e2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 19 Jan 2019 18:32:49 +0100 Subject: [PATCH] Fix bug #2448 bregex and bwild do not accept -l command line option --- bacula/src/tools/bregex.c | 4 ++-- bacula/src/tools/bwild.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/tools/bregex.c b/bacula/src/tools/bregex.c index fe51eacf4..8c38c9171 100644 --- a/bacula/src/tools/bregex.c +++ b/bacula/src/tools/bregex.c @@ -1,7 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2016 Kern Sibbald + Copyright (C) 2000-2019 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -83,7 +83,7 @@ int main(int argc, char *const *argv) bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); - while ((ch = getopt(argc, argv, "d:f:n?")) != -1) { + while ((ch = getopt(argc, argv, "d:f:ln?")) != -1) { switch (ch) { case 'd': /* set debug level */ if (*optarg == 't') { diff --git a/bacula/src/tools/bwild.c b/bacula/src/tools/bwild.c index 66b872d9e..3ebfa9170 100644 --- a/bacula/src/tools/bwild.c +++ b/bacula/src/tools/bwild.c @@ -1,7 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2016 Kern Sibbald + Copyright (C) 2000-2019 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -58,7 +58,7 @@ int main(int argc, char *const *argv) bindtextdomain("bacula", LOCALEDIR); textdomain("bacula"); - while ((ch = getopt(argc, argv, "d:f:in?")) != -1) { + while ((ch = getopt(argc, argv, "d:f:iln?")) != -1) { switch (ch) { case 'd': /* set debug level */ debug_level = atoi(optarg); -- 2.47.3