diff options
Diffstat (limited to '')
-rw-r--r-- | src/cli.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cli.rs b/src/cli.rs index 72ec877..3883cb1 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -190,6 +190,14 @@ pub struct SharedSelectionCommandArgs { #[arg(short, long)] pub priority: Option<i64>, + /// The subtitles to download (e.g. 'en,de,sv') + #[arg(short = 'l', long)] + pub subtitle_langs: Option<String>, + + /// The speed to set mpv to + #[arg(short, long)] + pub speed: Option<f64>, + /// The short extractor hash pub hash: LazyExtractorHash, @@ -218,14 +226,6 @@ pub enum SelectCommand { Watch { #[command(flatten)] shared: SharedSelectionCommandArgs, - - /// The subtitles to download (e.g. 'en,de,sv') - #[arg(short = 'l', long)] - subtitle_langs: Option<String>, - - /// The speed to set mpv to - #[arg(short, long)] - speed: Option<f64>, }, /// Mark the video given by the hash to be dropped |