diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-28 19:50:59 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-28 19:50:59 +0200 |
commit | 4f59ed0db3d0f47d5e8dca19a9ba3809ef755094 (patch) | |
tree | 2462c8fda931b7e3965ca37a0e77462a703fd38d /bin | |
parent | 5279c129209053024c8b7f8366254d80af5ccbc5 (diff) |
add --devmode switch
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -165,6 +165,7 @@ GetOptions( bike|b date|d=s depart=s + devmode discover|D efa-url|u=s exclude|e=s@ @@ -274,7 +275,8 @@ if ( $opt->{discover} or $opt->{'auto-url'} ) { max_interchanges => $opt->{'max-change'}, num_results => $opt->{'num-connections'}, - lwp_options => { timeout => $opt->{timeout} }, + developer_mode => $opt->{devmode}, + lwp_options => { timeout => $opt->{timeout} }, ); }; if ($efa) { @@ -314,7 +316,8 @@ else { max_interchanges => $opt->{'max-change'}, num_results => $opt->{'num-connections'}, - lwp_options => { timeout => $opt->{timeout} }, + developer_mode => $opt->{devmode}, + lwp_options => { timeout => $opt->{timeout} }, ); }; } |