allow long+short options for output

This commit is contained in:
Magnus Ulimoen 2020-04-10 11:53:37 +02:00
parent 147f3040c3
commit 032c1d9436
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ struct Options {
#[structopt(short, long)] #[structopt(short, long)]
jobs: Option<Option<usize>>, jobs: Option<Option<usize>>,
/// Name of output file /// Name of output file
#[structopt(default_value = "output.hdf")] #[structopt(default_value = "output.hdf", long, short)]
output: std::path::PathBuf, output: std::path::PathBuf,
/// Number of outputs to save /// Number of outputs to save
#[structopt(long, short)] #[structopt(long, short)]