From 225d8b92926bfeaa6b87c6f08b2da25e0034a6e8 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 20 Mar 2024 09:04:08 +0100 Subject: [PATCH] fix: clap clashes --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index ac033d19..6ca4926e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,11 +17,11 @@ struct CliArgs { /// command to run command: CliCommand, - #[arg(short, long, default_value = "sqlite://./upub.db")] + #[arg(short = 'd', long = "db", default_value = "sqlite://./upub.db")] /// database connection uri database: String, - #[arg(short, long, default_value = "http://localhost:3000")] + #[arg(short = 'D', long, default_value = "http://localhost:3000")] /// instance base domain, for AP ids domain: String,