From 7435e7e3900db67835a3d93ef6f247836b35e477 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 2 Aug 2001 11:58:51 +0000 Subject: (usage): fix usage --- urpmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, $_; -- cgit v1.2.1