command-line-args icon indicating copy to clipboard operation
command-line-args copied to clipboard

Support dense getopt notation (e.g. -XPOST)

Open 75lb opened this issue 6 years ago • 0 comments

Currently, you must include a space between short option and value, i.e.

$ example -i Filename.sh

To be more like getopt, make the space between option and value optional. I.e. this should work:

$ example -iFilename.sh

Example getopt commands highlighting this behaviour:

$ getopt i: -i filename
 -i filename --

$ getopt i: -ifilename
 -i filename --

75lb avatar Jan 16 '19 10:01 75lb