mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Require at least 2 args for cat command
This commit is contained in:
@@ -222,7 +222,7 @@ pub struct Session {
|
||||
|
||||
#[derive(Debug, Args)]
|
||||
pub struct Cat {
|
||||
#[arg(required = true)]
|
||||
#[arg(required = true, num_args = 2..)]
|
||||
pub filename: Vec<String>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user