Fix input file for cpp_out

This commit is contained in:
Jaby
2022-09-17 17:15:23 +02:00
parent 9b7f1adb4c
commit 5a0b2266b4

View File

@@ -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<PathBuf>,
#[clap(short='n', long="name")]