Skip to content

Commit

Permalink
cli: enc-args alias, peek can be used with enc-args
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed May 1, 2024
1 parent 8e6ec21 commit f461194
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Arguments {
pub outdir: Option<PathBuf>,

/// Overrides output to an image of frame number passed
#[clap(long, conflicts_with = "encargs")]
#[clap(long)]
pub peek: Option<u64>,

/// Pass a .vpy script to evaluate nodes from
Expand Down Expand Up @@ -111,6 +111,7 @@ pub struct Arguments {

/// Override FFmpeg encoding arguments (prefer using --override)
#[clap(
alias = "enc-args",
visible_alias = "enc",
long,
conflicts_with = "tompv",
Expand All @@ -127,7 +128,7 @@ pub struct Arguments {
pub recipe_str: Option<String>,

/// Override recipe setting(s), e.g: --ov "flowblur;amount;40" "misc;container;MKV"
#[clap(visible_alias="ov", visible_alias="overide", long, num_args=1..)]
#[clap(visible_alias="ov", alias="overide", long, num_args=1..)]
pub r#override: Option<Vec<String>>,
}

Expand Down

0 comments on commit f461194

Please sign in to comment.