diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-27 11:10:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-01-27 11:10:04 +0000 |
commit | a2e352a80301a243c139f50b75a5bdfcafd86ad9 (patch) | |
tree | f39ba5c4303d4ce6d1579e65561d0e73cb7ff1d3 /urpm | |
parent | de30d10b40a5db24883762c45897bd9d8d3fb9b9 (diff) | |
download | urpmi-a2e352a80301a243c139f50b75a5bdfcafd86ad9.tar urpmi-a2e352a80301a243c139f50b75a5bdfcafd86ad9.tar.gz urpmi-a2e352a80301a243c139f50b75a5bdfcafd86ad9.tar.bz2 urpmi-a2e352a80301a243c139f50b75a5bdfcafd86ad9.tar.xz urpmi-a2e352a80301a243c139f50b75a5bdfcafd86ad9.zip |
Patch by Guillaume Rousse to improve bash-completion for media names, via
adding new optional arguments to the --list-media option of urpmq.
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 2 |
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}, |