We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a program that I would like to execute like so:
./myprogram --someArg 2 --thisFails - --anotherArg 3
Where the value of thisFails should be set to -
thisFails
-
I've also tried: "-" to no avail
"-"
The error I'm getting is:
ERROR(S): Option 'thisFails' has no value.
The text was updated successfully, but these errors were encountered:
Use triple quote to quote "-" in the commandline, , then it will passed to the parser with Single Quote:
--somearg 2 --thisfails """-""" --anotherarg 3
Sorry, something went wrong.
In my testing, the triple quote returned a value of "-" not - but that's ok, we can work around that.
Thanks!
To avoid tripple quote, merging options with single dash as a value is allowed:
./myprogram --someArg 2 --thisSuccess=- --anotherArg 3 #merge longname with dash using '=' e.g `--thisSuccess=-` ./myprogram --someArg 2 -s- --anotherArg 3 #merge shortname with dash: `-s-`
Single dash will be considered as a value in the next release
No branches or pull requests
I have a program that I would like to execute like so:
./myprogram --someArg 2 --thisFails - --anotherArg 3
Where the value of
thisFails
should be set to-
I've also tried:
"-"
to no availThe error I'm getting is:
The text was updated successfully, but these errors were encountered: