refactor: Swapped admin command names and aliases

This commit is contained in:
PerformativeJade authored and Ellis Git committed 2026-08-06 12:18:26 +00:00
1 parent 21ea9d3ea7
commit 69b6431213
6 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ use crate::admin_command_dispatch;
#[derive(Debug, Subcommand)]
pub enum UserCommand {
/// Create a new user
#[clap(alias = "create")]
#[command(name = "create", alias = "create-user")]
CreateUser {
/// Username of the new user
username: String,
@@ -163,7 +163,7 @@ pub enum UserCommand {
},
/// List local users in the database
#[clap(alias = "list")]
#[command(name = "list", alias = "list-users")]
ListUsers,
/// Lists all the rooms (local and remote) that the specified user is