From 51bec161d856735bb24545055b9414a0fb8ef9b6 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 24 Jul 2025 17:02:30 +0200 Subject: fix(crates/yt/commands/database): Correctly format the default for `--kind` The `fmt::Debug` impl will print them capitalized, which is obviously wrong in this context. --- crates/yt/src/commands/database/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/yt/src/commands/database/mod.rs b/crates/yt/src/commands/database/mod.rs index b391686..92b120f 100644 --- a/crates/yt/src/commands/database/mod.rs +++ b/crates/yt/src/commands/database/mod.rs @@ -23,6 +23,9 @@ pub(super) enum OperationType { impl Display for OperationType { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - ::fmt(self, f) + match self { + OperationType::Video => f.write_str("video"), + OperationType::Subscription => f.write_str("subscription"), + } } } -- cgit 1.4.1