mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
Merge pull request #690 from moritzdietz/fix-session-args
Require at least one of -l / -r for session command
This commit is contained in:
@@ -308,6 +308,7 @@ pub struct Stream {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Args)]
|
#[derive(Debug, Args)]
|
||||||
|
#[clap(group(ArgGroup::new("mode").args(&["output_file", "stream_local", "stream_remote"]).multiple(true).required(true)))]
|
||||||
pub struct Session {
|
pub struct Session {
|
||||||
/// Save the session to a file at the specified path. Can be combined with local and remote streaming.
|
/// Save the session to a file at the specified path. Can be combined with local and remote streaming.
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|||||||
Reference in New Issue
Block a user