about summary refs log tree commit diff stats
path: root/yt/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'yt/src/cli.rs')
-rw-r--r--yt/src/cli.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt/src/cli.rs b/yt/src/cli.rs
index 3afce3f..73121d1 100644
--- a/yt/src/cli.rs
+++ b/yt/src/cli.rs
@@ -34,6 +34,11 @@ pub struct CliArgs {
     #[arg(long, short = 'V', action= ArgAction::SetTrue)]
     pub version: bool,
 
+    /// Do not perform database migration before starting.
+    /// Setting this could cause runtime database access errors.
+    #[arg(long, short, action=ArgAction::SetTrue, default_value_t = false)]
+    pub no_migrate_db: bool,
+
     /// Increase message verbosity
     #[arg(long="verbose", short = 'v', action = ArgAction::Count)]
     pub verbosity: u8,