Error: Problem parsing command line arguments!
→ /path/to/litr.toml
1 | some-command
| └─ Cannot parse: A short parameter can only contain one character (A-Za-z).
Also, trying to parse the parameter variable inside the script will print a duplicated error message that the parameter name cannot be parsed:
Even though valid, commands and parameters containing a hyphen will be wrongly parsed as "short parameter names" and result in parsing issues inside the script parser.
Description
Given the following configuration:
Running this:
Will result in:
Also, trying to parse the parameter variable inside the script will print a duplicated error message that the parameter name cannot be parsed:
Problem
Even though valid, commands and parameters containing a hyphen will be wrongly parsed as "short parameter names" and result in parsing issues inside the script parser.