From d0a7b8677e5716b9b894798bfc352c4acc2f7bc6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 14 Jan 2008 13:57:19 +0000 Subject: deprecate "urpmq --requires" --- urpm/args.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'urpm/args.pm') diff --git a/urpm/args.pm b/urpm/args.pm index 751893ae..cc403a3f 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -243,6 +243,10 @@ my %options_spec = ( force => \$options{force}, 'parallel=s' => \$options{parallel}, 'env=s' => \$options{env}, + requires => sub { + $urpm->{error}("option --requires is deprecated, use --requires-recursive instead"); + $options{deps} = 1; + }, 'requires-recursive|d' => \$options{deps}, u => \$options{upgrade}, a => \$options{all}, -- cgit v1.2.1