From f7a94fd098c31d85b0394b45b9c6f30c626ca933 Mon Sep 17 00:00:00 2001 From: moritzdietz Date: Wed, 9 Jul 2025 15:55:11 +0200 Subject: [PATCH] Also require -o / --output-file for session command Closes asciinema#689 --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 2ac274e..f597590 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -308,7 +308,7 @@ pub struct Stream { } #[derive(Debug, Args)] -#[clap(group(ArgGroup::new("mode").args(&["stream_local", "stream_remote"]).multiple(true).required(true)))] +#[clap(group(ArgGroup::new("mode").args(&["output_file", "stream_local", "stream_remote"]).multiple(true).required(true)))] pub struct Session { /// Save the session to a file at the specified path. Can be combined with local and remote streaming. #[arg(