Keep the most similarity with standard unix getopt
.
Goal:
- flag with no argument, eg:
/x
- colon separated argument, eg:
/x:10
- space separated argument list, eg:
/x arg1 arg2
`getopt` function for dos style(start with slash, eg: /x) command line flag parsing.
Keep the most similarity with standard unix getopt
.
Goal:
/x
/x:10
/x arg1 arg2
`getopt` function for dos style(start with slash, eg: /x) command line flag parsing.
MIT License