chore(!783): Update config file documentation, depluralize token subcommand

This commit is contained in:
Ginger
2026-01-06 11:26:05 -05:00
parent bf205fb13c
commit ea0a124981
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -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