exiqgrep: add -a to use all recipients (including delivered)
[exim.git] / src / src / exiqgrep.src
index e05589073142f823cd2b179cf06a14b2a545b3c0..05c1b9ed06ef9ee43212ef9ef1e39798ce71a495 100644 (file)
@@ -43,8 +43,9 @@ if ($^O eq 'darwin') { # aka MacOS X
   $base = 62;
 };
 
-getopts('hf:r:y:o:s:zxlibRc',\%opt);
+getopts('hf:r:y:o:s:zxlibRca',\%opt);
 if ($opt{h}) { &help; exit;}
+if ($opt{a}) { $eargs = '-bp'; }
 
 # Read message queue output into hash
 &collect();
@@ -78,6 +79,7 @@ Display options:
        -i              Message IDs only
        -b              Brief Format
        -R              Reverse order
+       -a              All recipients (including delivered)
 EOF
 }