Skip to content

Commit e97fa7f

Browse files
committed
make specs required
1 parent b4b9a3b commit e97fa7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::path::PathBuf;
2222
#[derive(Parser, Debug)]
2323
#[command(author, version, about, long_about = None, rename_all = "kebab-case")]
2424
struct Command {
25-
#[arg(short, long, value_name = "spec", value_hint = clap::ValueHint::FilePath, num_args = 1..)]
25+
#[arg(short, long, value_name = "spec", value_hint = clap::ValueHint::FilePath, num_args = 1.., required = true)]
2626
spec_yaml: Vec<PathBuf>,
2727

2828
#[arg(short, long, value_name = "DIR", value_hint = clap::ValueHint::DirPath)]

0 commit comments

Comments
 (0)