system name should also accept rename

This commit is contained in:
dawn 2026-01-19 18:03:13 +03:00
parent c18e72450b
commit 728913235a
No known key found for this signature in database

View file

@ -56,7 +56,7 @@ pub fn edit() -> impl Iterator<Item = Command> {
command!(system, Optional(SystemRef), name => "system_show_name")
.help("Shows the systems name"),
);
let system_name_self = tokens!(system, name);
let system_name_self = tokens!(system, ("rename", [name]));
let system_name_self_cmd = [
command!(system_name_self, CLEAR => "system_clear_name")
.flag(YES)