diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-21 12:03:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-05-21 12:03:40 +0200 |
commit | 39be1d919ace678944647e252ea123c2c0ed79a4 (patch) | |
tree | 0e1ced8f4d8a0491a45e466b64dfc2abf3c8fbdf /bin | |
parent | 79f13396e865e4fffaf6bcc0aa07b1003fa6c569 (diff) |
efa: Improved --ignore-info handling
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -125,7 +125,7 @@ GetOptions( 'exclude=s' => \@exclude, 'from=s{2}' => \@from, 'help' => sub {exec('perldoc', $0)}, - 'ignore-info=s' => \$ignore_info, + 'ignore-info=s{0,1}' => \$ignore_info, 'max-change=i' => \$maxinter, 'post=s' => \%post, 'prefer=s' => \$prefer, @@ -401,9 +401,11 @@ All trains Set your walking speed to I<speed>. Accepted values: normal (default), fast, slow -=item B<--ignore-info> I<regex> +=item B<--ignore-info> [ I<regex> ] -Ignore additional information matching I<regex> (default: /Fahrradmitnahme/) +Ignore additional information matching I<regex> (default: /Fahrradmitnahme/). + +If I<regex> is not supplied, removes the default regex (-> nothing will be ignored) =item B<--debug> |