summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index af7d02ef..9bb3f111 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -117,6 +117,7 @@ my %options_spec = (
'excludedocs|exclude-docs' => sub { $urpm->{options}{excludedocs} = 1 },
'more-choices' => sub { $urpm->{options}{morechoices} = 1 },
'expect-install!' => \$::expect_install,
+ 'nolock' => \$::nolock,
a => \$::all,
q => sub { --$::verbose; $::rpm_opt = '' },
v => sub { ++$::verbose; $::rpm_opt = 'vh' },
@@ -208,6 +209,7 @@ my %options_spec = (
'use-distrib=s' => \$options{usedistrib},
'parallel=s' => \$options{parallel},
'env=s' => \$options{env},
+ 'nolock' => \$options{nolock},
d => \$options{deps},
u => \$options{upgrade},
a => \$options{all},