summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-02 11:58:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-02 11:58:51 +0000
commit7435e7e3900db67835a3d93ef6f247836b35e477 (patch)
tree09af286c75fc4e735270a53751da9c89742bd9a3
parente458bee55313af952dd36766c8ca3a3401dbb669 (diff)
downloadurpmi-7435e7e3900db67835a3d93ef6f247836b35e477.tar
urpmi-7435e7e3900db67835a3d93ef6f247836b35e477.tar.gz
urpmi-7435e7e3900db67835a3d93ef6f247836b35e477.tar.bz2
urpmi-7435e7e3900db67835a3d93ef6f247836b35e477.tar.xz
urpmi-7435e7e3900db67835a3d93ef6f247836b35e477.zip
(usage): fix usage
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index e6d2d727..cf02e947 100755
--- a/urpmi
+++ b/urpmi
@@ -93,7 +93,7 @@ for (@ARGV) {
/q/ and do { $rpm_opt = "-U"; next };
/p/ and do { $use_provides = 1; next };
/v/ and do { $verbose = 1; next };
- die "urpmi: unknown option \"-%1\", check usage with --help\n"; } next };
+ die "urpmi: unknown option \"-$1\", check usage with --help\n"; } next };
@nextargv and do { my $r = shift @nextargv; $r and $$r = $_; next };
/\.rpm$/ and do { push @files, untaint($_); next };
push @names, $_;