add default=yes in upgrade argument spec
This commit is contained in:
parent
4a729ebf3a
commit
d3dee7a8a2
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ def main():
|
||||||
default_release = dict(default=None, aliases=['default-release']),
|
default_release = dict(default=None, aliases=['default-release']),
|
||||||
install_recommends = dict(default='yes', aliases=['install-recommends'], type='bool'),
|
install_recommends = dict(default='yes', aliases=['install-recommends'], type='bool'),
|
||||||
force = dict(default='no', type='bool'),
|
force = dict(default='no', type='bool'),
|
||||||
upgrade = dict(choices=['yes', 'safe', 'full', 'dist'])
|
upgrade = dict(default='yes', choices=['yes', 'safe', 'full', 'dist'])
|
||||||
),
|
),
|
||||||
mutually_exclusive = [['package', 'upgrade']],
|
mutually_exclusive = [['package', 'upgrade']],
|
||||||
required_one_of = [['package', 'upgrade', 'update_cache']],
|
required_one_of = [['package', 'upgrade', 'update_cache']],
|
||||||
|
|
Loading…
Reference in a new issue