aboutsummaryrefslogtreecommitdiffstats
path: root/yt/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yt/src/cli.rs')
-rw-r--r--yt/src/cli.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/yt/src/cli.rs b/yt/src/cli.rs
index b110772..e95b93f 100644
--- a/yt/src/cli.rs
+++ b/yt/src/cli.rs
@@ -218,15 +218,15 @@ pub struct SharedSelectionCommandArgs {
/// The short extractor hash
pub hash: LazyExtractorHash,
- pub title: String,
+ pub title: Option<String>,
- pub date: OptionalNaiveDate,
+ pub date: Option<OptionalNaiveDate>,
- pub publisher: OptionalPublisher,
+ pub publisher: Option<OptionalPublisher>,
- pub duration: Duration,
+ pub duration: Option<Duration>,
- pub url: Url,
+ pub url: Option<Url>,
}
#[derive(Clone, Debug, Copy)]
pub struct OptionalNaiveDate {