X Tutup
Skip to content

cmd: fix kwarg formatting in docstring example#2117

Merged
Byron merged 1 commit intogitpython-developers:mainfrom
UweSchwaeke:fix/example-in-comment
Mar 25, 2026
Merged

cmd: fix kwarg formatting in docstring example#2117
Byron merged 1 commit intogitpython-developers:mainfrom
UweSchwaeke:fix/example-in-comment

Conversation

@UweSchwaeke
Copy link
Contributor

Update the example to accurately reflect the output of transform_kwarg. When a key is longer than one letter and its value is a non-empty, non-boolean type, it is transformed into the --key=value format, rather than missing the double dashes or using spaces.

Update the example to accurately reflect the output of `transform_kwarg`.
When a key is longer than one letter and its value is a non-empty,
non-boolean type, it is transformed into the `--key=value` format,
rather than missing the double dashes or using spaces.

Signed-off-by: Uwe Schwaeke <uwe.schwaeke@clyso.com>
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@Byron Byron merged commit becccc8 into gitpython-developers:main Mar 25, 2026
30 checks passed
@UweSchwaeke
Copy link
Contributor Author

thank you

@UweSchwaeke UweSchwaeke deleted the fix/example-in-comment branch March 26, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup