chore(!783): Update config file documentation, depluralize token subcommand
This commit is contained in:
parent
bf205fb13c
commit
ea0a124981
3 changed files with 8 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ pub enum AdminCommand {
|
|||
|
||||
#[command(subcommand)]
|
||||
/// - Commands for managing registration tokens
|
||||
Tokens(TokenCommand),
|
||||
Token(TokenCommand),
|
||||
|
||||
#[command(subcommand)]
|
||||
/// - Commands for managing rooms
|
||||
|
|
@ -75,7 +75,7 @@ pub(super) async fn process(command: AdminCommand, context: &Context<'_>) -> Res
|
|||
context.bail_restricted()?;
|
||||
user::process(command, context).await
|
||||
},
|
||||
| Tokens(command) => {
|
||||
| Token(command) => {
|
||||
// token commands are all restricted
|
||||
context.bail_restricted()?;
|
||||
token::process(command, context).await
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue