diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 14:34:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-02-25 14:34:30 +0000 |
commit | 1126918af32ca283ba5ef37dd9a189c2abc011c9 (patch) | |
tree | e8189cc909ee0c92fd7107c1a7de88ce3855b0d7 /urpmq | |
parent | 8fbc17dc71b61534f00c630368bf3b2cd37e54b4 (diff) | |
download | urpmi-1126918af32ca283ba5ef37dd9a189c2abc011c9.tar urpmi-1126918af32ca283ba5ef37dd9a189c2abc011c9.tar.gz urpmi-1126918af32ca283ba5ef37dd9a189c2abc011c9.tar.bz2 urpmi-1126918af32ca283ba5ef37dd9a189c2abc011c9.tar.xz urpmi-1126918af32ca283ba5ef37dd9a189c2abc011c9.zip |
make "urpmq --list xxx" display "use -l to list files" and exit on error
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -203,6 +203,7 @@ if ($options{list_aliases}) { } exit 0; } elsif ($options{list}) { + !@names && !@src_names or $urpm->{fatal}(1, N("use -l to list files")); # --list lists all available packages: select them all @{$state->{selected}}{0 .. $#{$urpm->{depslist}}} = (); } else { |