Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions