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

Does it support POSIX-style short flag combining? #617

Closed
chensongz opened this issue Apr 13, 2017 · 2 comments
Closed

Does it support POSIX-style short flag combining? #617

chensongz opened this issue Apr 13, 2017 · 2 comments

Comments

@chensongz
Copy link
Contributor

chensongz commented Apr 13, 2017

I want to use flag -lh for -l -h.
How to support this?

@chensongz chensongz changed the title Does it support POSIX-style short flag combining (-a -b -> -ab) Does it support POSIX-style short flag combining? Apr 13, 2017
@SCKelemen
Copy link

I don't think this can be compatible. The aliases are just a collection of strings. There is no requirement that they be one character in length. Therefore, it seems like there would be considerable overhead and searching arguments, and parsing them into valid flags.

@jszwedko
Copy link
Contributor

This was added as optional behavior in #684 -- thanks for raising the issue @chensongz !

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

3 participants