Skip to content

flag.sh: Add ability parse combined short flags #6

@nhooyr

Description

@nhooyr

like -bfzs

Should be parsed as 4 separate flags, not one whole bfzs.

I'm thinking I add a function to iterate through each character somehow and if they don't recognize one of the characters as a flag or it wasn't a single hyphen flag, then we error out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions