Fix input file for cpp_out
This commit is contained in:
parent
26a9c7c3bf
commit
91ba0583dd
|
@ -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")]
|
||||||
|
|
Loading…
Reference in New Issue