diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/uri | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -51,7 +51,10 @@ for (@ARGV) { } my %opts; -Getopt::Std::getopts('edh', \%opts); +if (!Getopt::Std::getopts('edh', \%opts)) { + usage *STDERR; + exit 2; +} if ($opts{h}) { usage *STDOUT; |