Bug 609: Add -C option to exiqgrep
[exim.git] / src / src / exiqgrep.src
index 05c1b9ed06ef9ee43212ef9ef1e39798ce71a495..94b17f58bbcf2b999591167178446727f06f4a43 100644 (file)
@@ -43,9 +43,10 @@ if ($^O eq 'darwin') { # aka MacOS X
   $base = 62;
 };
 
-getopts('hf:r:y:o:s:zxlibRca',\%opt);
+getopts('hf:r:y:o:s:C:zxlibRca',\%opt);
 if ($opt{h}) { &help; exit;}
 if ($opt{a}) { $eargs = '-bp'; }
+if ($opt{C}) { $eargs .= ' -C '.$opt{C}; }
 
 # Read message queue output into hash
 &collect();
@@ -61,6 +62,7 @@ sub help() {
 Exim message queue display utility.
 
        -h              This help message.
+       -C              Specify which exim.conf to use.
 
 Selection criteria:
        -f <regexp>     Match sender address sender (field is "< >" wrapped)