--version no longer works without
argument · Issue #2677 · rust-lang/rust-bindgen (original) (raw)

@jbeich

Description

@jbeich

Regressed by #2656. Found via mesa@1cc26e8b6657 due to mesonbuild/meson@0f2f87a00347

$ bindgen --help | fgrep -A1 -- --version
  -V, --version
          Prints the version, and exits

$ bindgen --version
error: the following required arguments were not provided:
  <HEADER>

Usage: bindgen <FLAGS> <OPTIONS> <HEADER> -- <CLANG_ARGS>...

For more information, try '--help'.

$ bindgen --version /dev/null
bindgen 0.69.0

Previously,

$ bindgen --version
bindgen 0.68.1

Metadata

Metadata

Development

No branches or pull requests

Issue actions