rename git command flag -c/--commit to -m/--message according to git

This commit is contained in:
2024-09-17 13:32:58 +02:00
parent e2d452c70c
commit fe940a0ee3

View File

@ -1279,7 +1279,7 @@ def install() -> None:
@cli.command()
@click.option('recipes', '-r', '--recipe', multiple=True, metavar='<RecipeName>', help='Filter for selcted recipes, this option can be specified multiple times.')
@click.option('message','-c', '--commit', metavar='<Message>', help='create a commit with the specified Message')
@click.option('message','-m', '--message', metavar='<Message>', help='create a commit with the specified Message')
@click.option('-p', '--push', is_flag=True, help='Push all changes to the remote')
def git(recipes: Tuple[str], message: str, push: bool = False) -> None:
"""