Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Redesign option parsing for main executable #1578

@fendor

Description

@fendor

With #1569, we introduced two additional flags that do not compose with the --lsp flag, yet you can pass them all to the executable and nothing complains about that.
I think we should redesign the options to reflect the two different modes that are currently implemented: lsp-server and project-loading.
Most important restriction:
Synopsis and name of the used flags must not change in a backwards incompatible manner.
E.g., the following flags must be possible to use together: --lsp, --debug, -l log.file and --vomit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions