Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop showing '=' for short options #44

Merged
merged 2 commits into from
Sep 2, 2020
Merged

Stop showing '=' for short options #44

merged 2 commits into from
Sep 2, 2020

Conversation

jengelh
Copy link
Contributor

@jengelh jengelh commented Aug 24, 2020

$ ./myapp -?
  -A=X GUID       A
  -C STRING       C
$ ./myapp --usage
Usage: myapp [-A=GUID] [-C=STRING]

'=' is generally not used with short options. Drop it.
Copy link
Member

@pmatilai pmatilai left a comment

Choose a reason for hiding this comment

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

Nod.

I actually seem to remember the = not working at all with short options (despite being shown) but a quick test suggests I'm misremembering, or alternatively it was fixed at some point. Anyway, thanks for the patch!

@pmatilai pmatilai merged commit 4c79495 into rpm-software-management:master Sep 2, 2020
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