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

feature request/question: support the one dash as argument #393

Open
leha-bot opened this issue Feb 18, 2023 · 2 comments
Open

feature request/question: support the one dash as argument #393

leha-bot opened this issue Feb 18, 2023 · 2 comments

Comments

@leha-bot
Copy link

Hello, I want to make a one dash as an argument (like gcc - for consuming stdin), but can't find anything about this, while I tried to create a simple argument, it fails with runtime exception.
May you help with this?

Thanks in advance for your attention, and thanks for your library, it's pretty cool! 😊

@jarro2783
Copy link
Owner

The parser probably thinks that it is starting an option and is invalid. I can fix that so that a standalone - is just read as a string.

@jarro2783
Copy link
Owner

What's the error? This works on the example program.

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