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.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/src/cli.rs b/yt/src/cli.rs
index e95b93f..6e6dd3a 100644
--- a/yt/src/cli.rs
+++ b/yt/src/cli.rs
@@ -38,6 +38,10 @@ pub struct CliArgs {
#[arg(long="verbose", short = 'v', action = ArgAction::Count)]
pub verbosity: u8,
+ /// Display colors [defaults to true, if the config file has no value]
+ #[arg(long, short = 'C')]
+ pub color: Option<bool>,
+
/// Set the path to the videos.db. This overrides the default and the config file.
#[arg(long, short)]
pub db_path: Option<PathBuf>,