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:
parent
be1163acfe
commit
3ec42e81b1
@ -343,7 +343,6 @@ pub fn plugin_cli() -> CommandLineInterface {
|
|||||||
"add",
|
"add",
|
||||||
CliCommand::new(&API_METHOD_ADD_PLUGIN)
|
CliCommand::new(&API_METHOD_ADD_PLUGIN)
|
||||||
.arg_param(&["type", "id"])
|
.arg_param(&["type", "id"])
|
||||||
.completion_cb("id", crate::config::acme::complete_acme_plugin)
|
|
||||||
.completion_cb("type", crate::config::acme::complete_acme_plugin_type),
|
.completion_cb("type", crate::config::acme::complete_acme_plugin_type),
|
||||||
)
|
)
|
||||||
.insert(
|
.insert(
|
||||||
|
Loading…
Reference in New Issue
Block a user