summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index f953ce88..24993f56 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -189,7 +189,7 @@ my %options_spec = (
keep => \$options{keep},
list => \$options{list},
changelog => \$options{changelog},
- 'list-media' => \$options{list_media},
+ 'list-media:s' => sub { $options{list_media} = $_[1] || 'all' },
'list-url' => \$options{list_url},
'list-nodes' => \$options{list_nodes},
'list-aliases' => \$options{list_aliases},