Also require -o / --output-file for session command

Closes asciinema#689
This commit is contained in:
moritzdietz
2025-07-09 15:55:11 +02:00
parent 116fd90bc2
commit f7a94fd098

View File

@@ -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(