Skip to content

Use getopt for parsing command-line arguments #4615

Closed as not planned
Closed as not planned
@jawnsy

Description

@jawnsy

We wrote our own argument-parsing code: https://github.com/cdr/code-server/blob/385be36dea427a3311fba440fb7e06fda66e864d/install.sh#L155-L162

It would be better to switch to getopt to simplify this, so that we don't our own custom code, and so that we support all the constructs that people expect (no value allowed, mandatory value, optional value)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions