diff options
-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}; } |