Skip to content

Conversation

@lihaoyi
Copy link
Member

@lihaoyi lihaoyi commented Sep 16, 2023

Fixes #97

Relatively straightforward change. We do head.split("=", 2) match to see if it contains any =, and if so treat the portion of the string after the first = as the value. Added some unit test to cover both success cases and failure cases: use with short names or with flags is unsupported.

@lihaoyi lihaoyi merged commit b25a9fb into main Sep 16, 2023
@lihaoyi lihaoyi deleted the gflags branch September 16, 2023 14:29
@lefou lefou added this to the 0.5.3 milestone Jan 26, 2024
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.

long arg like --foo should support --foo=bar style command flag

3 participants