completion: fix 'group-filter' parameter name

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-05-06 10:27:00 +02:00 committed by Thomas Lamprecht
parent dfea916ca7
commit b6c8717cc2
2 changed files with 9 additions and 3 deletions

View File

@ -412,7 +412,7 @@ async fn run() -> Result<(), Error> {
) )
.completion_cb("remote", pbs_config::remote::complete_remote_name) .completion_cb("remote", pbs_config::remote::complete_remote_name)
.completion_cb("remote-store", complete_remote_datastore_name) .completion_cb("remote-store", complete_remote_datastore_name)
.completion_cb("group_filter", complete_remote_datastore_group_filter), .completion_cb("group-filter", complete_remote_datastore_group_filter),
) )
.insert( .insert(
"verify", "verify",

View File

@ -105,7 +105,10 @@ pub fn sync_job_commands() -> CommandLineInterface {
.completion_cb("store", pbs_config::datastore::complete_datastore_name) .completion_cb("store", pbs_config::datastore::complete_datastore_name)
.completion_cb("remote", pbs_config::remote::complete_remote_name) .completion_cb("remote", pbs_config::remote::complete_remote_name)
.completion_cb("remote-store", crate::complete_remote_datastore_name) .completion_cb("remote-store", crate::complete_remote_datastore_name)
.completion_cb("groups", crate::complete_remote_datastore_group_filter), .completion_cb(
"group-filter",
crate::complete_remote_datastore_group_filter,
),
) )
.insert( .insert(
"update", "update",
@ -115,7 +118,10 @@ pub fn sync_job_commands() -> CommandLineInterface {
.completion_cb("schedule", pbs_config::datastore::complete_calendar_event) .completion_cb("schedule", pbs_config::datastore::complete_calendar_event)
.completion_cb("store", pbs_config::datastore::complete_datastore_name) .completion_cb("store", pbs_config::datastore::complete_datastore_name)
.completion_cb("remote-store", crate::complete_remote_datastore_name) .completion_cb("remote-store", crate::complete_remote_datastore_name)
.completion_cb("groups", crate::complete_remote_datastore_group_filter), .completion_cb(
"group-filter",
crate::complete_remote_datastore_group_filter,
),
) )
.insert( .insert(
"remove", "remove",