Fix input file for cpp_out

This commit is contained in:
2022-09-17 17:15:23 +02:00
parent 03c2379721
commit d92f6d6cfb

View File

@@ -5,7 +5,7 @@ use cpp_out::{Configuration, Error, FileType};
#[derive(Parser)] #[derive(Parser)]
#[clap(about = "Output a file content or stdin to a c++ header/source file", long_about = None)] #[clap(about = "Output a file content or stdin to a c++ header/source file", long_about = None)]
struct CommandLine { struct CommandLine {
#[clap(short='f', long="file")] #[clap(value_parser)]
input_file: Option<PathBuf>, input_file: Option<PathBuf>,
#[clap(short='n', long="name")] #[clap(short='n', long="name")]