diff --git a/src/bin/topola/main.rs b/src/bin/topola/main.rs index 3d1016c..0c0ebda 100644 --- a/src/bin/topola/main.rs +++ b/src/bin/topola/main.rs @@ -13,16 +13,19 @@ use topola::specctra::design::SpecctraDesign; #[derive(Parser, Debug, Default)] #[command(about, version)] struct Cli { + #[arg(value_name = "SPECCTRA DESIGN FILE", + help = "Specify the Specctra Design (*.dsn) file input file for the Topola autorouter")] input: PathBuf, - #[arg(short, long, value_name = "FILE")] + #[arg(short, long, value_name = "FILE", + help = "Specify the output Topola session file (*.ses)") + ] output: Option, - #[arg(short, long, value_name = "FILE")] + #[arg(short, long, value_name = "FILE", help = "TODO")] commands: Option, } fn main() -> Result<(), std::io::Error> { let args = Cli::parse(); - let design_file = File::open(&args.input)?; let mut design_bufread = BufReader::new(design_file);