add l alias for list, ls in pk;group list

This commit is contained in:
dusk 2025-11-26 17:06:15 +00:00
parent 25bf0d85d4
commit 81e0cebb8e
No known key found for this signature in database

View file

@ -168,7 +168,8 @@ pub fn cmds() -> impl Iterator<Item = Command> {
.into_iter(); .into_iter();
let system_groups_cmd = let system_groups_cmd =
once(command!(group, ("list", ["ls"]), search_param => "groups_self")).map(apply_list_opts); once(command!(group, ("list", ["ls", "l"]), search_param => "groups_self"))
.map(apply_list_opts);
system_groups_cmd system_groups_cmd
.chain(group_new_cmd) .chain(group_new_cmd)