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

Issue with short arg parsing using optional space #56

Open
kdawgwilk opened this issue Mar 25, 2018 · 0 comments
Open

Issue with short arg parsing using optional space #56

kdawgwilk opened this issue Mar 25, 2018 · 0 comments

Comments

@kdawgwilk
Copy link

The docent standard supports an optional space after short args like -c 50 and should be parsed into a "-c": "50" but it currently is parsed into "-c": " 50" which has the side effect of not being able to be coerced into a int type because of the space

From docent.org

Short options can have arguments specified after optional space:
-f FILE is equivalent to -fFILE.

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

1 participant