diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-03-31 14:36:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-03-31 14:36:44 +0000 |
commit | 2420ddc687f501b4260fe67d275c6de26196b54b (patch) | |
tree | 23244ce05112d93516dab5d808b74f745157f2cb /urpmf | |
parent | 61d509733ea88bfbc2651985174a91acad970075 (diff) | |
download | urpmi-2420ddc687f501b4260fe67d275c6de26196b54b.tar urpmi-2420ddc687f501b4260fe67d275c6de26196b54b.tar.gz urpmi-2420ddc687f501b4260fe67d275c6de26196b54b.tar.bz2 urpmi-2420ddc687f501b4260fe67d275c6de26196b54b.tar.xz urpmi-2420ddc687f501b4260fe67d275c6de26196b54b.zip |
- urpmf:
o check usage of -a, -! and the like instead of displaying the ugly
"Internal error: syntax error ..."
Diffstat (limited to 'urpmf')
-rwxr-xr-x | urpmf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -145,11 +145,12 @@ our $uniq = ''; # --uniq our $update = 0; # --update #- globals used in callback -our $expr; # regexp to match against +our ($expr, $left_expr); # regexp to match against our %uniq; #- parse arguments list. my $urpm = urpm->new_parse_cmdline or exit(1); +defined $left_expr and $urpm->{fatal}(1, N("unterminated expression (%s)", $left_expr)); defined $expr or usage(); if ($qf eq '%default') { |