fix: clap clashes

This commit is contained in:
əlemi 2024-03-20 09:04:08 +01:00
parent 5386c7ba7a
commit 225d8b9292
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -17,11 +17,11 @@ struct CliArgs {
/// command to run /// command to run
command: CliCommand, command: CliCommand,
#[arg(short, long, default_value = "sqlite://./upub.db")] #[arg(short = 'd', long = "db", default_value = "sqlite://./upub.db")]
/// database connection uri /// database connection uri
database: String, 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 /// instance base domain, for AP ids
domain: String, domain: String,