From 39be1d919ace678944647e252ea123c2c0ed79a4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 21 May 2009 12:03:40 +0200 Subject: efa: Improved --ignore-info handling --- bin/efa | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/efa b/bin/efa index 2b5d604..ead1896 100755 --- a/bin/efa +++ b/bin/efa @@ -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. Accepted values: normal (default), fast, slow -=item B<--ignore-info> I +=item B<--ignore-info> [ I ] -Ignore additional information matching I (default: /Fahrradmitnahme/) +Ignore additional information matching I (default: /Fahrradmitnahme/). + +If I is not supplied, removes the default regex (-> nothing will be ignored) =item B<--debug> -- cgit v1.2.3