summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-08-27 17:31:40 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-07 03:23:29 +0200
commit8150e04f7c49e5b00793c05322730053b6e357c1 (patch)
treec1b27d6908c0a9867b1bf6c3cf08a4914ca53a84 /urpmq
parentbc7e830670503a7b51e5a89aedbbcbb78e14abc8 (diff)
downloadurpmi-8150e04f7c49e5b00793c05322730053b6e357c1.tar
urpmi-8150e04f7c49e5b00793c05322730053b6e357c1.tar.gz
urpmi-8150e04f7c49e5b00793c05322730053b6e357c1.tar.bz2
urpmi-8150e04f7c49e5b00793c05322730053b6e357c1.tar.xz
urpmi-8150e04f7c49e5b00793c05322730053b6e357c1.zip
rename 'no-suggests' option as 'no-recommends'
keep --no-suggests but with a warning
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpmq b/urpmq
index 82fd93e5..05a078f5 100755
--- a/urpmq
+++ b/urpmq
@@ -49,7 +49,7 @@ sub usage() {
") . N(" --auto-orphans - list orphans
") . N(" --not-available
- list installed packages not available on any media.
-") . N(" --no-suggests - do not auto select \"suggested\" packages.
+") . N(" --no-recommends - do not auto select \"recommended\" packages.
") . N(" --fuzzy - impose fuzzy search (same as -y).
") . N(" --keep - keep existing packages if possible, reject requested
packages that lead to removals.
@@ -365,7 +365,7 @@ if ($options{list_aliases}) {
keep => $options{keep},
rpmdb => $options{env} && "$options{env}/rpmdb.cz",
auto_select => $options{auto_select},
- no_recommends => $urpm->{options}{'no-suggests'},
+ no_recommends => $urpm->{options}{'no-recommends'},
callback_choices => $stop_on_choices);
$options{deps} or delete @{$state->{selected}}{grep { exists $state->{selected}{$_} &&
! defined $state->{selected}{$_} } keys %{$state->{selected}}};
@@ -373,7 +373,7 @@ if ($options{list_aliases}) {
#- only deps required.
my $empty_db = URPM->new; #- URPM has same methods as URPM::DB and empty URPM will be seen as empty URPM::DB.
$urpm->resolve_requested($empty_db, $state, \%requested,
- no_recommends => $urpm->{options}{'no-suggests'},
+ no_recommends => $urpm->{options}{'no-recommends'},
callback_choices => $stop_on_choices, nodeps => 1);
} else {
$state->{selected} = \%requested;