manager: subscription commands s/delete/remove/

no idea why I added it as "delete", for all other such operations we
use the "remove" sub-command...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2020-11-01 13:19:29 +01:00
parent 0e16f57e37
commit fa7aceeb15

View File

@ -45,7 +45,7 @@ pub fn subscription_commands() -> CommandLineInterface {
CliCommand::new(&api2::node::subscription::API_METHOD_CHECK_SUBSCRIPTION) CliCommand::new(&api2::node::subscription::API_METHOD_CHECK_SUBSCRIPTION)
.fixed_param("node", "localhost".into()) .fixed_param("node", "localhost".into())
) )
.insert("delete", .insert("remove",
CliCommand::new(&api2::node::subscription::API_METHOD_DELETE_SUBSCRIPTION) CliCommand::new(&api2::node::subscription::API_METHOD_DELETE_SUBSCRIPTION)
.fixed_param("node", "localhost".into()) .fixed_param("node", "localhost".into())
) )