summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 3d3904f0..b7006281 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -292,6 +292,9 @@ sub parse_cmdline {
# get default values (and read config file)
# TODO
# parse options
+ if ($tool eq 'urpmi') {
+ for (@ARGV) { $_ = '-X' if $_ eq '--X' }
+ }
GetOptions(%{$options_spec{$tool}});
}