Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Stop on ambiguous options

Resolves GH #6
  • Loading branch information...
commit a4df286ccc018cdc6ef3390ab0e8a41c9ee70395 1 parent dc9a6bf
@doherty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/log
View
4 bin/log
@@ -38,10 +38,10 @@ GetOptions( \%opts,
'user:s',
'refresh-index',
'udp!',
-);
+) or exit;
my %udp_data = ( irc => 1, port => 9002, host => 'localhost' );
-GetOptions( 'udp-data=s' => \%udp_data);
+GetOptions( 'udp-data=s' => \%udp_data) or exit;
$opts{udp} = \%udp_data if $opts{udp};
=head1 SYNOPSIS
Please sign in to comment.
Something went wrong with that request. Please try again.