Pretty much the title. Here is how to reproduce it:
@task(help={
'service': "The service that should be deployed",
'env': 'Target environment',
'git_branch': '[Optional] Name of the branch to be used in the host machines',
})
def deploy(c, service, env, git_branch=None):
"""
Deploy a service into a specific environment and optionally using a specific git branch
"""
The result of invoke -h deploy:
Options:
-e STRING, --env=STRING Target environment
-g STRING, --git-branch=STRING
-s STRING, --service=STRING The service that should be deployed
Also, I have no idea why the options are not listed in the right order!