diff --git a/src/Tools/cpp_out/src/main.rs b/src/Tools/cpp_out/src/main.rs index 5340f6a1..3a2e62dd 100644 --- a/src/Tools/cpp_out/src/main.rs +++ b/src/Tools/cpp_out/src/main.rs @@ -5,7 +5,7 @@ use cpp_out::{Configuration, Error, FileType}; #[derive(Parser)] #[clap(about = "Output a file content or stdin to a c++ header/source file", long_about = None)] struct CommandLine { - #[clap(short='f', long="file")] + #[clap(value_parser)] input_file: Option, #[clap(short='n', long="name")]