Skip to content

Show flags as kebab-case in addition to options - #21

Merged
p-ranav merged 1 commit into
p-ranav:masterfrom
ken-matsui:show-flags-as-kebab-in-addition-to-options
May 27, 2022
Merged

p-ranav merged 1 commit into
p-ranav:masterfrom
ken-matsui:show-flags-as-kebab-in-addition-to-options

Conversation

@ken-matsui

Copy link
Copy Markdown
Contributor

structopt supports interpreting flags as kebab-case, but in help, they are printed out as snake_case although options are shown as kebab-case.
This PR implements a feature to print flags as kebab-case as well as options do.

@p-ranav
p-ranav merged commit 34621d9 into p-ranav:master May 27, 2022
@ken-matsui
ken-matsui deleted the show-flags-as-kebab-in-addition-to-options branch May 27, 2022 12:36
wx257osn2 added a commit to wx257osn2/p-ranav-structopt that referenced this pull request Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants