summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Timmann <lt@mcs.de>2014-04-23 17:03:06 -0700
committerTodd Lyons <tlyons@exim.org>2014-04-24 06:38:41 -0700
commit8d91c6dcd2c16f9a84b7abf47d130bac1a8bb273 (patch)
tree66505e39c34d808baf02cb19474e5f354b1abb9f /src
parentfd3b6a4ad699259b80dcaed6287ec01ab5ec0105 (diff)
Bug 609: Add -C option to exiqgrep
Option is a passthrough to the exim process that it spawns that generates the queue list. Fixed Conflicts: doc/doc-txt/ChangeLog
Diffstat (limited to 'src')
-rw-r--r--src/src/exiqgrep.src4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/src/exiqgrep.src b/src/src/exiqgrep.src
index 05c1b9ed0..94b17f58b 100644
--- a/src/src/exiqgrep.src
+++ b/src/src/exiqgrep.src
@@ -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)