1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-07 22:41:18 +03:00

Migrate to clap v4

This commit is contained in:
Quentin Gliech
2022-09-29 14:13:25 +02:00
parent 645d019d10
commit f5e3aa0404
8 changed files with 14 additions and 14 deletions

View File

@ -25,7 +25,7 @@ use tracing::{info, warn};
#[derive(Parser, Debug)]
pub(super) struct Options {
#[clap(subcommand)]
#[command(subcommand)]
subcommand: Subcommand,
}
@ -43,7 +43,7 @@ enum Subcommand {
/// Import clients from config
ImportClients {
/// Remove all clients before importing
#[clap(long)]
#[arg(long)]
truncate: bool,
},
}