]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
faxalter: Wire up the page range -Z options
authorAidan Van Dyk <aidan@ifax.com>
Tue, 14 Dec 2010 20:02:26 +0000 (15:02 -0500)
committerAidan Van Dyk <mountie@cherry.home.highrise.ca>
Wed, 29 Jun 2011 13:34:04 +0000 (09:34 -0400)
Code for range was in place, but the Z: was left out of the option string.

faxalter/faxalter.c++

index 4d0f6ff29d6523fe66b913ef6b84959d23fbf13d..5bbe6b976ec42ebdbf34e2c98fe4ad3272324f14 100644 (file)
@@ -100,7 +100,7 @@ faxAlterApp::run(int argc, char** argv)
     int rc;
 
     int c;
-    while ((c = Sys::getopt(argc, argv, "Ca:d:h:k:m:n:O:P:t:ADQRgprv")) != -1)
+    while ((c = Sys::getopt(argc, argv, "Ca:d:h:k:m:n:O:P:t:Z:ADQRgprv")) != -1)
        switch (c) {
        case 'C':
            errorexit = false;
@@ -331,6 +331,7 @@ faxAlterApp::usage()
       " [-r]"
       " [-v]"
       " [-DQR]"
+      " [-Z range]"
       " jobID..."));
 }