Require at least one input file

This commit is contained in:
Patrick Lühne 2020-02-03 22:50:33 +01:00
parent ad3a2d18f8
commit 82b3176a40
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -7,7 +7,7 @@ enum Command
#[structopt(about = "Verifies a logic program against a specification")]
VerifyProgram
{
#[structopt(parse(from_os_str))]
#[structopt(parse(from_os_str), required(true))]
input: Vec<std::path::PathBuf>,
}
}