]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw-admin: split remove and delete aliases
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 2 Dec 2019 22:51:18 +0000 (14:51 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 28 Jan 2020 18:20:35 +0000 (10:20 -0800)
Since "zonegroup remove" and "zonegroup delete" are different commands,
don't have them share the same aliases.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_admin.cc

index 7c9e325ea78146b08c49de5a64d90fe0bb745232..1dc2fa9d507d35b8b59625bdab55f4778c4d3371 100644 (file)
@@ -919,7 +919,8 @@ static SimpleCmd::Commands all_cmds = {
 };
 
 static SimpleCmd::Aliases cmd_aliases = {
-  { "delete", "del", "rm", "remove"},
+  { "delete", "del" },
+  { "remove", "rm" },
   { "rename", "mv" },
 };