### Body

When you have two option with the same short flag - in the same command, only one can be used - for example before https://github.com/apache/airflow/pull/33957 `static-checks -t` yielded `--image-tag` not `--static-checks`.

We should check if any of the commands of breeze has such flag duplicated. 

This should be done in the place where we calculate hash from the context dictionary in setup_commands.py:

```
def get_command_hash_export() -> str:
    import rich_click

    hashes = []
    with Context(main) as ctx:
        the_context_dict = ctx.to_info_dict()
```

This is used in `breeze setup regenerate-command-images` and the `the_context_dict` contains information about all commands and their flags, so we should be able to easily check if some flags are duplicated in all commands.



### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
return_code = regenerate_help_images_for_all_commands(
        commands=command, check_only=check_only, force=force
    )
    sys.exit(return_code)
@setup.command(name="check-all-params-in-groups", help="Check that all parameters are put in groups.")
@click.option(
    "--command",
    help="Command(s) to regenerate images for (optional, might be repeated)",
    show_default=True,
    multiple=True,
    type=BetterChoice(get_commands()),
)
@option_verbose
@option_dry_run
def check_all_params_in_groups(command: tuple[str, ...]):
    return_code = check_that_all_params_are_in_groups(commands=command)
    sys.exit(return_code)