diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 13:16:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-17 13:16:25 +0000 |
commit | 1835d6d28eb9688683ded6b8fa29ee841f57f454 (patch) | |
tree | af366576f913292b4a58b62fd4a5683f3ef70f95 | |
parent | 716e237d5231d9cd7c17348e85c49cad8f322fdd (diff) | |
download | urpmi-1835d6d28eb9688683ded6b8fa29ee841f57f454.tar urpmi-1835d6d28eb9688683ded6b8fa29ee841f57f454.tar.gz urpmi-1835d6d28eb9688683ded6b8fa29ee841f57f454.tar.bz2 urpmi-1835d6d28eb9688683ded6b8fa29ee841f57f454.tar.xz urpmi-1835d6d28eb9688683ded6b8fa29ee841f57f454.zip |
handle -p and -P like urpmi
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | gurpmi.pm | 2 | ||||
-rw-r--r-- | urpm/args.pm | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,6 @@ - gurpmi: o handle provides (spotted by salem) + o handle -p and -P like urpmi - urpmi: o never suggest --install-src for spec file (#38876) o do not allow "urpmi --install-src foo.spec" @@ -50,6 +50,8 @@ usage: ") . N(" --verify-rpm - verify rpm signature before installation (--no-verify-rpm disables it, default is enabled). ") . N(" --media - use only the given media, separated by comma. +") . N(" -p - allow search in provides to find package. +") . N(" -P - do not search in provides to find package. ") . N(" --root - use another root for rpm installation. ") . N(" --test - only verify if the installation can be achieved correctly. ") . N(" --searchmedia - use only the given media to search requested packages. diff --git a/urpm/args.pm b/urpm/args.pm index b34e461e..bff9bded 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -370,7 +370,7 @@ sub add_urpmf_parameter { # common options setup -foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'no-priority-upgrade', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!') +foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'no-priority-upgrade', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!') { $options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k}; } |