summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-05 16:46:54 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-07 05:20:18 +0200
commitda6ef9988aa1168ae091569ef249cf8d32866f32 (patch)
tree02fe82405075918695cb784fbb86376d19c6587d /urpm
parentada559101efe49dfdfff0fdbcb9f418b1c80137f (diff)
downloadurpmi-da6ef9988aa1168ae091569ef249cf8d32866f32.tar
urpmi-da6ef9988aa1168ae091569ef249cf8d32866f32.tar.gz
urpmi-da6ef9988aa1168ae091569ef249cf8d32866f32.tar.bz2
urpmi-da6ef9988aa1168ae091569ef249cf8d32866f32.tar.xz
urpmi-da6ef9988aa1168ae091569ef249cf8d32866f32.zip
rename '--suggests' option as '--recommends'
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index ccaa8e42..163caa62 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -266,9 +266,13 @@ my %options_spec = (
provides => \$options{provides},
sourcerpm => \$options{sourcerpm},
'summary|S' => \$options{summary},
+ recommends => sub {
+ $options{recommends} = 1;
+ },
suggests => sub {
$urpm->{error}("--suggests now displays the suggested packages, see --allow-suggests for previous behaviour");
- $options{suggests} = 1;
+ $urpm->{error}("You should now use --recommends.");
+ $options{recommends} = 1;
},
'list-media:s' => sub { $options{list_media} = $_[1] || 'all' },
'list-url' => \$options{list_url},