From 5f19c937ddf1fc533daf6b59abcde7b927298249 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 2 Dec 2019 14:51:18 -0800 Subject: [PATCH] rgw-admin: split remove and delete aliases Since "zonegroup remove" and "zonegroup delete" are different commands, don't have them share the same aliases. Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_admin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 7c9e325ea78..1dc2fa9d507 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -919,7 +919,8 @@ static SimpleCmd::Commands all_cmds = { }; static SimpleCmd::Aliases cmd_aliases = { - { "delete", "del", "rm", "remove"}, + { "delete", "del" }, + { "remove", "rm" }, { "rename", "mv" }, }; -- 2.39.5