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

add Flag.flag to help text #71

Closed
dastrobu opened this issue Apr 15, 2018 · 1 comment
Closed

add Flag.flag to help text #71

dastrobu opened this issue Apr 15, 2018 · 1 comment

Comments

@dastrobu
Copy link

Currently, the help text shows only the long flags, suche as e.g. --verbose, but not the short flag -f which can be configured via

let main = command(
    Flag("verbose", flag: "v")
) {
    // ...
}
@kylef
Copy link
Owner

kylef commented Sep 23, 2019

This feature has been added to https://github.com/kylef/Commander/releases/tag/0.9.1

@kylef kylef closed this as completed Sep 23, 2019
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

No branches or pull requests

2 participants