summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 14:45:56 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 14:45:56 +0000
commitfd76226b2aaf12e520213f5bb8474514cd8826e7 (patch)
tree550d1e94fa9c04d59c9745d6762d1623372d55a0 /urpmq
parenta3922a35162b7a65dcc76cf52a9a68f8a34f89f9 (diff)
downloadurpmi-fd76226b2aaf12e520213f5bb8474514cd8826e7.tar
urpmi-fd76226b2aaf12e520213f5bb8474514cd8826e7.tar.gz
urpmi-fd76226b2aaf12e520213f5bb8474514cd8826e7.tar.bz2
urpmi-fd76226b2aaf12e520213f5bb8474514cd8826e7.tar.xz
urpmi-fd76226b2aaf12e520213f5bb8474514cd8826e7.zip
Die if unknown command-line options are given.
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index d58d38ab..012d72df 100755
--- a/urpmq
+++ b/urpmq
@@ -109,7 +109,7 @@ sub escape_shell ($) {
#- parse arguments list.
@ARGV or usage;
my $urpm = new urpm;
-urpm::args::parse_cmdline(urpm => $urpm);
+urpm::args::parse_cmdline(urpm => $urpm) or exit(1);
#- remove verbose if not asked.
$urpm::args::options{verbose} or $urpm->{log} = sub {};