You've already forked authentication-service
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:
@ -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,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user