mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
refactor: Swapped admin command names and aliases
This commit is contained in:
1 parent
21ea9d3ea7
commit
69b6431213
6 files changed
+8
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user