Skip to content

--config and --version are both unrecognized #697

@HymanZHAN

Description

@HymanZHAN

Zig Version

0.10.0-dev.4212+34835bbbc

Zig Language Server Version

0.9.0 Latest

Steps to Reproduce

  • Install zls by following this instruction
  • Add zls path to $PATH
  • Type zls --version or zls --config in the terminal
  • Error shown

Expected Behavior

zls --version should return the version number, and zls --config should let me config zls, according to the README file.

Actual Behavior

image

And it stops me from using zls in VS Code because VS Code calls zls --version to check if the language server has been installed.

image

I am aware that zls config works, but the docs say otherwise.

As a side note, zls --show-config-path doesn't work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions