mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 12:51:04 +00:00
Resolve option conflict differently.
This commit is contained in:
@@ -85,9 +85,7 @@ def get_docstring(filename, verbose=False):
|
||||
if not doc.has_key(key):
|
||||
doc[key] = value
|
||||
else:
|
||||
# not sure this is the only example but don't do this for the copy module
|
||||
if key != 'force':
|
||||
doc[key].update(value)
|
||||
doc[key].update(value)
|
||||
|
||||
if 'EXAMPLES' in (t.id for t in child.targets):
|
||||
plainexamples = child.value.s[1:] # Skip first empty line
|
||||
|
||||
Reference in New Issue
Block a user