]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix bug #2448 bregex and bwild do not accept -l command line option
authorKern Sibbald <kern@sibbald.com>
Sat, 19 Jan 2019 17:32:49 +0000 (18:32 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 19 Jan 2019 17:32:49 +0000 (18:32 +0100)
bacula/src/tools/bregex.c
bacula/src/tools/bwild.c

index fe51eacf4876d837219eff723061c3914a6ec80d..8c38c917186f0675a22b38795777d530eaa13683 100644 (file)
@@ -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') {
index 66b872d9e1e4a4c53470fcca69a5612c2a481bf6..3ebfa9170fbec9e1d189391068319fa6ea60954f 100644 (file)
@@ -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);