Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(client,server): re-enable clap default features #1721

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

mxinden
Copy link
Collaborator

@mxinden mxinden commented Mar 7, 2024

When default features are disabled, clap does not e.g. generate logic for --help or --version handling. Instead it errors with the opaque error on anything other than correct command line flags.

$ neqo-client --version

error: unexpected argument found

Instead of removing default-features = false, enable them individually.

See https://docs.rs/clap/latest/clap/_features/index.html for details.

When default features are disabled, clap does not e.g. generate logic for
`--help` or `--version` handling. Instead it errors with the opaque error on
anything other than correct command line flags.

```
$ neqo-client --version

error: unexpected argument found
```

Instead of removing `default-features = false`, enable them individually.

See https://docs.rs/clap/latest/clap/_features/index.html for details.
@larseggert larseggert added this pull request to the merge queue Mar 7, 2024
Merged via the queue into mozilla:main with commit a456357 Mar 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants