From cef3f220a209d3e2c63f237b198626c3a7707a10 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Mon, 11 Dec 2023 15:39:18 +0100 Subject: [PATCH] Make command line options consistent (#4243) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ede4bb8f0..3807405f6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,12 +72,12 @@ use url::Url; long_about = "A link aggregator for the fediverse.\n\nThis is the Lemmy backend API server. This will connect to a PostgreSQL database, run any pending migrations and start accepting API requests." )] pub struct CmdArgs { - #[arg(long, default_value_t = false)] /// Disables running scheduled tasks. /// /// If you are running multiple Lemmy server processes, /// you probably want to disable scheduled tasks on all but one of the processes, /// to avoid running the tasks more often than intended. + #[arg(long, default_value_t = false, action=ArgAction::Set)] disable_scheduled_tasks: bool, /// Whether or not to run the HTTP server. ///