diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-14 13:57:19 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-14 13:57:19 +0000 |
commit | d0a7b8677e5716b9b894798bfc352c4acc2f7bc6 (patch) | |
tree | 4c57196711c7c2ae248ed9c0a3ffa406cbb79df2 /urpm/args.pm | |
parent | d90e305277a60edcb97438e1f7fee005bcbad70b (diff) | |
download | urpmi-d0a7b8677e5716b9b894798bfc352c4acc2f7bc6.tar urpmi-d0a7b8677e5716b9b894798bfc352c4acc2f7bc6.tar.gz urpmi-d0a7b8677e5716b9b894798bfc352c4acc2f7bc6.tar.bz2 urpmi-d0a7b8677e5716b9b894798bfc352c4acc2f7bc6.tar.xz urpmi-d0a7b8677e5716b9b894798bfc352c4acc2f7bc6.zip |
deprecate "urpmq --requires"
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 4 |
1 files changed, 4 insertions, 0 deletions
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}, |