diff --git a/bob/devtools/scripts/changelog.py b/bob/devtools/scripts/changelog.py index a347f89d9a96dfe29c0696ebb85c1b7cff8e4160..baac1ff08d2d9700f5ff33ec8465947995ba4a33 100644 --- a/bob/devtools/scripts/changelog.py +++ b/bob/devtools/scripts/changelog.py @@ -16,11 +16,7 @@ from ..changelog import parse_date from ..release import get_gitlab_instance -@click.command(context_settings=dict( - ignore_unknown_options=True, - allow_extra_args=True, - ), - epilog=''' +@click.command(epilog=''' Examples: 1. Generates the changelog for a single package using merge requests: diff --git a/bob/devtools/scripts/dumpsphinx.py b/bob/devtools/scripts/dumpsphinx.py index 61caece059c73a7922c51a83fce41fa4137547d3..b022e8a38b02911abac1a468032b8ce0d1341a42 100644 --- a/bob/devtools/scripts/dumpsphinx.py +++ b/bob/devtools/scripts/dumpsphinx.py @@ -13,11 +13,7 @@ from . import bdt from ..log import verbosity_option -@click.command(context_settings=dict( - ignore_unknown_options=True, - allow_extra_args=True, - ), - epilog=''' +@click.command(epilog=''' Examples: 1. Dumps objects documented in python 3.x: diff --git a/bob/devtools/scripts/lasttag.py b/bob/devtools/scripts/lasttag.py index d1e2aa27edd40a28977ce169587b99221a169a47..d8129bd14b5eb934a87a0450c030b16d5466fd40 100644 --- a/bob/devtools/scripts/lasttag.py +++ b/bob/devtools/scripts/lasttag.py @@ -12,11 +12,7 @@ from ..changelog import get_last_tag, parse_date from ..release import get_gitlab_instance -@click.command(context_settings=dict( - ignore_unknown_options=True, - allow_extra_args=True, - ), - epilog=''' +@click.command(epilog=''' Examples: 1. Get the last tag information of the bob/bob package diff --git a/bob/devtools/scripts/release.py b/bob/devtools/scripts/release.py index 251539fc557f0a89651b6f1c4b0ee7c713a2fccc..c6816744d80fa54194ad07914c58c86fa7fbd8e3 100644 --- a/bob/devtools/scripts/release.py +++ b/bob/devtools/scripts/release.py @@ -14,11 +14,7 @@ from ..release import release_bob, parse_and_process_package_changelog from ..release import release_package, wait_for_pipeline_to_finish from ..release import get_gitlab_instance -@click.command(context_settings=dict( - ignore_unknown_options=True, - allow_extra_args=True, - ), - epilog=''' +@click.command(epilog=''' Examples: 1. Releases a single package: diff --git a/bob/devtools/scripts/visibility.py b/bob/devtools/scripts/visibility.py index 67321c26cffed93d47691e4aa6eb32e1ede1025f..290f50d85414e434ec34b57ad7a030fe2f657d10 100644 --- a/bob/devtools/scripts/visibility.py +++ b/bob/devtools/scripts/visibility.py @@ -14,11 +14,7 @@ from ..log import verbosity_option from ..release import get_gitlab_instance -@click.command(context_settings=dict( - ignore_unknown_options=True, - allow_extra_args=True, - ), - epilog=''' +@click.command(epilog=''' Examples: 1. Check the visibility of a package you can access