Skip to content

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

@75lb

Description

@75lb

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 --

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions