summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 16:18:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 16:18:51 +0000
commit60a00bc85d4f5858e29a96956987427fb0bb4cca (patch)
treeeed6f91398ae1c55ea56db9479a50c9ddb1717fb
parentc70ebf61148c65f0dd7a2e385e55c45d94b3c8df (diff)
downloadurpmi-60a00bc85d4f5858e29a96956987427fb0bb4cca.tar
urpmi-60a00bc85d4f5858e29a96956987427fb0bb4cca.tar.gz
urpmi-60a00bc85d4f5858e29a96956987427fb0bb4cca.tar.bz2
urpmi-60a00bc85d4f5858e29a96956987427fb0bb4cca.tar.xz
urpmi-60a00bc85d4f5858e29a96956987427fb0bb4cca.zip
(parse_command_line) fix --auto-select option that got broken in
r238215 ("fix --auto-select option" (was for main_loop))
-rw-r--r--gurpmi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 66899af1..63c1c6cd 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -81,7 +81,7 @@ sub parse_command_line() {
}
}
- $options{'auto-select'} || @all_rpms + @names
+ $::auto_select || @all_rpms + @names
or fatal(N("No packages specified"));
return @all_rpms;
}