- 'spool:s' => \$G::spool, # exim spool dir
- 'bp' => \$G::mailq_bp, # List the queue (noop - default)
- 'bpa' => \$G::mailq_bpa, # ... with generated address as well
- 'bpc' => \$G::mailq_bpc, # ... but just show a count of messages
- 'bpr' => \$G::mailq_bpr, # ... do not sort
- 'bpra' => \$G::mailq_bpra, # ... with generated addresses, unsorted
- 'bpru' => \$G::mailq_bpru, # ... only undelivered addresses, unsorted
- 'bpu' => \$G::mailq_bpu, # ... only undelivered addresses
- 'and' => \$G::and, # 'and' the criteria (default)
- 'or' => \$G::or, # 'or' the criteria
- 'f:s' => \$G::qgrep_f, # from regexp
- 'r:s' => \$G::qgrep_r, # recipient regexp
- #'s:s' => \$G::qgrep_s, # match against size field
- 'y:s' => \$G::qgrep_y, # message younger than (secs)
- 'o:s' => \$G::qgrep_o, # message older than (secs)
- 'z' => \$G::qgrep_z, # frozen only
- 'x' => \$G::qgrep_x, # non-frozen only
- 'c' => \$G::qgrep_c, # display match count
- 'l' => \$G::qgrep_l, # long format (default)
- 'i' => \$G::qgrep_i, # message ids only
- 'b' => \$G::qgrep_b, # brief format
- 'flatq' => \$G::flatq, # brief format
- 'caseful' => \$G::caseful, # in '=' criteria, respect case
- 'caseless'=> \$G::caseless, # ...ignore case (default)
- 'show-vars:s' => \$G::show_vars, # display the contents of these vars
- 'show-rules' => \$G::show_rules # display compiled match rules
+ 'spool=s' => \$G::spool, # exim spool dir
+ 'C|Config=s' => \$G::config, # use alternative Exim configuration file
+ 'input-dir=s' => \$G::input_dir, # name of the "input" dir
+ 'finput' => \$G::finput, # same as "--input-dir Finput"
+ 'bp' => \$G::mailq_bp, # List the queue (noop - default)
+ 'bpa' => \$G::mailq_bpa, # ... with generated address as well
+ 'bpc' => \$G::mailq_bpc, # ... but just show a count of messages
+ 'bpr' => \$G::mailq_bpr, # ... do not sort
+ 'bpra' => \$G::mailq_bpra, # ... with generated addresses, unsorted
+ 'bpru' => \$G::mailq_bpru, # ... only undelivered addresses, unsorted
+ 'bpu' => \$G::mailq_bpu, # ... only undelivered addresses
+ 'and' => \$G::and, # 'and' the criteria (default)
+ 'or' => \$G::or, # 'or' the criteria
+ 'f=s' => \$G::qgrep_f, # from regexp
+ 'r=s' => \$G::qgrep_r, # recipient regexp
+ 's=s' => \$G::qgrep_s, # match against size field
+ 'y=s' => \$G::qgrep_y, # message younger than (secs)
+ 'o=s' => \$G::qgrep_o, # message older than (secs)
+ 'z' => \$G::qgrep_z, # frozen only
+ 'x' => \$G::qgrep_x, # non-frozen only
+ 'c' => \$G::qgrep_c, # display match count
+ 'l' => \$G::qgrep_l, # long format (default)
+ 'i' => \$G::qgrep_i, # message ids only
+ 'b' => \$G::qgrep_b, # brief format
+ 'size' => \$G::size_only, # sum the size of the matching msgs
+ 'not' => \$G::negate, # flip every test
+ 'R|reverse' => \$G::reverse, # reverse output (-R is qgrep option)
+ 'sort=s' => \@G::sort, # allow you to choose variables to sort by
+ 'freeze=s' => \$G::freeze, # freeze data in this file
+ 'thaw=s' => \$G::thaw, # thaw data from this file
+ 'unsorted' => \$G::unsorted, # unsorted, regardless of output format
+ 'random' => \$G::random, # (poorly) randomize evaluation order
+ 'flatq' => \$G::flatq, # brief format
+ 'caseful' => \$G::caseful, # in '=' criteria, respect case
+ 'caseless' => \$G::caseless, # ...ignore case (default)
+ 'charset=s' => \$charset, # charset for $bh and $h variables
+ 'show-vars=s' => \$G::show_vars, # display the contents of these vars
+ 'just-vars' => \$G::just_vars, # only display vars, no other info
+ 'show-rules' => \$G::show_rules, # display compiled match rules
+ 'show-tests' => \$G::show_tests, # display tests as applied to each message
+ 'version' => sub {
+ print basename($0) . ": $0\n",
+ "build: EXIM_RELEASE_VERSIONEXIM_VARIANT_VERSION\n",
+ "perl(runtime): $]\n";
+ exit 0;
+ },