@ -34,6 +34,7 @@ options:
description:
description:
- The subversion URL to the repository.
- The subversion URL to the repository.
required: true
required: true
aliases: [ name, repository ]
default: null
default: null
dest:
dest:
description:
description:
@ -45,6 +46,7 @@ options:
- Specific revision to checkout.
- Specific revision to checkout.
required: false
required: false
default: HEAD
default: HEAD
aliases: [ version ]
force:
force:
description:
description:
- If C(yes), modified files will be discarded. If C(no), module will fail if it encounters modified files.
- If C(yes), modified files will be discarded. If C(no), module will fail if it encounters modified files.
@ -141,7 +143,7 @@ def main():
argument_spec=dict(
argument_spec=dict(
dest=dict(required=True),
dest=dict(required=True),
repo=dict(required=True, aliases=['name', 'repository']),
repo=dict(required=True, aliases=['name', 'repository']),
revision=dict(default='HEAD', aliases=['rev']),
revision=dict(default='HEAD', aliases=['rev', 'version' ]),
force=dict(default='yes', type='bool'),
force=dict(default='yes', type='bool'),
username=dict(required=False),
username=dict(required=False),
password=dict(required=False),
password=dict(required=False),