cmd: fix kwarg formatting in docstring example · gitpython-developers/GitPython@9863f50 · GitHub
Skip to content

Commit 9863f50

Browse files
committed
cmd: fix kwarg formatting in docstring example
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>
1 parent d0318a6 commit 9863f50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

git/cmd.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)