manager: acme plugin: remove ID completion helper from add command

we cannot add a plugin with an existing ID so this completion helper
is rather counterproductive...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-10 15:47:36 +02:00
parent be1163acfe
commit 3ec42e81b1

View File

@ -343,7 +343,6 @@ pub fn plugin_cli() -> CommandLineInterface {
"add",
CliCommand::new(&API_METHOD_ADD_PLUGIN)
.arg_param(&["type", "id"])
.completion_cb("id", crate::config::acme::complete_acme_plugin)
.completion_cb("type", crate::config::acme::complete_acme_plugin_type),
)
.insert(