change the location of args and options. #1431
Labels
area/v2
relates to / is being considered for v2
kind/discussion
is for discussion
kind/feature
describes a code enhancement / feature request
Checklist
What problem does this solve?
Another way of writing on the command line
Solution description
from the example, you can see:
the old way, each option can only be followed by one value, if there are multiple values, must be multiple
-d
options, If there is no-d
option,multiple values may lead to inability to distinguish args.the another way, an option can be followed by multiple values, multiple values are separated by spaces, if the args are preceded by -, you can verify whether it is an option, until the first option is found, the front is all args
recommended to add a switch, which uses the old parsing mode by default, and use the new parsing mode if the switch is turned on。
Describe alternatives you've considered
A clear and concise description of any alternative solutions or
features you've considered.
The text was updated successfully, but these errors were encountered: