From ab8c7d8289ac2906e12c2ab721f3a1a0445c5675 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Wed, 22 May 2024 16:31:35 -0700 Subject: [PATCH] Update lib.rs --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 30945ae82..e22c4188d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,6 @@ use url::Url; about = "A link aggregator for the fediverse", 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." )] -#[command(args_conflicts_with_subcommands = true)] // TODO: Instead of defining individual env vars, only specify prefix once supported by clap. // https://github.com/clap-rs/clap/issues/3221 pub struct CmdArgs { @@ -113,7 +112,6 @@ pub struct CmdArgs { #[derive(Subcommand, Debug)] enum CmdSubcommand { /// Do something with migrations, then exit. - #[command(args_conflicts_with_subcommands = false)] Migration { #[command(subcommand)] subcommand: MigrationSubcommand,