Permit old-school getopts usage
Alhadis opened this issue · 0 comments
Alhadis commented
By "old-school", I simply mean t:h:i:s:form:a:t
used by the shell built-in (and Python's getopt.getopt
, IIRC). It wouldn't be at all difficult to map it to the format expected by JavaScript's getOpts
:
"hvl:n:"
/* Expands to become: */
{
"-h": "",
"-v": "",
"-l": "<arg>",
"-n": "<arg>"
}