summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 09:12:01 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-13 09:12:01 +0000
commit81e111d03cca400b44c8e7c23f1a5856a68dd5c9 (patch)
tree30b2f5d37fc8819e028af31a643be042e8f592d8
parent95d75d94204780af9f7ed9b2458dacfd494572af (diff)
downloadurpmi-81e111d03cca400b44c8e7c23f1a5856a68dd5c9.tar
urpmi-81e111d03cca400b44c8e7c23f1a5856a68dd5c9.tar.gz
urpmi-81e111d03cca400b44c8e7c23f1a5856a68dd5c9.tar.bz2
urpmi-81e111d03cca400b44c8e7c23f1a5856a68dd5c9.tar.xz
urpmi-81e111d03cca400b44c8e7c23f1a5856a68dd5c9.zip
If called without arguments, make urpmi.recover print usage
-rw-r--r--urpmi.recover1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.recover b/urpmi.recover
index 70e4adec..52ccaab3 100644
--- a/urpmi.recover
+++ b/urpmi.recover
@@ -56,6 +56,7 @@ sub date_to_tid {
#- option parsing
+@ARGV or usage();
my $command_line = "@ARGV"; #- for logging
urpm::args::parse_cmdline()
or exit(1);