From 2efb7daa73b82844bcfb7bd46abfe6e26338f3d2 Mon Sep 17 00:00:00 2001 From: redzic <48274562+redzic@users.noreply.github.com> Date: Mon, 7 Mar 2022 19:40:33 -0600 Subject: [PATCH] Set required for input (#585) --- av1an-cli/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/av1an-cli/src/lib.rs b/av1an-cli/src/lib.rs index 8385f3d..3f0538b 100644 --- a/av1an-cli/src/lib.rs +++ b/av1an-cli/src/lib.rs @@ -98,7 +98,7 @@ pub struct CliOpts { /// Input file to encode /// /// Can be a video or vapoursynth (.py, .vpy) script. - #[clap(short, parse(from_os_str))] + #[clap(short, parse(from_os_str), required = true)] pub input: Vec, /// Video output file