diff --git a/crates/command_definitions/src/random.rs b/crates/command_definitions/src/random.rs index e24df15c..0c14b002 100644 --- a/crates/command_definitions/src/random.rs +++ b/crates/command_definitions/src/random.rs @@ -5,11 +5,13 @@ use super::*; pub fn cmds() -> impl Iterator { let random = ("random", ["rand"]); let group = group::group(); + let member = member::member(); [ command!(random => "random_self") .help("Shows the info card of a randomly selected member in your system") .flag(group), + command!(random, member => "random_self"), command!(random, group => "random_group_self") .help("Shows the info card of a randomly selected group in your system"), command!(random, group::targeted() => "random_group_member_self") diff --git a/crates/command_definitions/src/system.rs b/crates/command_definitions/src/system.rs index 82ff0a2b..3310efa7 100644 --- a/crates/command_definitions/src/system.rs +++ b/crates/command_definitions/src/system.rs @@ -247,7 +247,7 @@ pub fn edit() -> impl Iterator { .map(apply_list_opts); let system_groups_cmd = once( - command!(system, Optional(SystemRef), "groups", search_param => "system_groups") + command!(system, Optional(SystemRef), ("groups", ["g"]), search_param => "system_groups") .help("Lists groups in a system"), ) .map(apply_list_opts);