Skip to content

Commit e4847f8

Browse files
committed
Use override_usage
1 parent 8469e1e commit e4847f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bindgen-cli/options.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ fn parse_codegen_config(what_to_generate: &str) -> io::Result<CodegenConfig> {
4141
#[derive(Parser, Debug)]
4242
#[clap(
4343
about = "Generates Rust bindings from C/C++ headers.",
44-
trailing_var_arg = true
44+
override_usage = "bindgen [FLAGS] [OPTIONS] [HEADER] -- [CLANG_ARGS]...",
45+
trailing_var_arg = true,
4546
)]
4647
struct BindgenCommand {
4748
/// C or C++ header file.

0 commit comments

Comments
 (0)