We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b9a3b commit e97fa7fCopy full SHA for e97fa7f
src/main.rs
@@ -22,7 +22,7 @@ use std::path::PathBuf;
22
#[derive(Parser, Debug)]
23
#[command(author, version, about, long_about = None, rename_all = "kebab-case")]
24
struct Command {
25
- #[arg(short, long, value_name = "spec", value_hint = clap::ValueHint::FilePath, num_args = 1..)]
+ #[arg(short, long, value_name = "spec", value_hint = clap::ValueHint::FilePath, num_args = 1.., required = true)]
26
spec_yaml: Vec<PathBuf>,
27
28
#[arg(short, long, value_name = "DIR", value_hint = clap::ValueHint::DirPath)]
0 commit comments