From b6c8717cc2225ac427ef2f29dbb6cd2e20e6e21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Fri, 6 May 2022 10:27:00 +0200 Subject: [PATCH] completion: fix 'group-filter' parameter name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fabian Grünbichler --- src/bin/proxmox-backup-manager.rs | 2 +- src/bin/proxmox_backup_manager/sync.rs | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs index 29a11a8b..b07e41f8 100644 --- a/src/bin/proxmox-backup-manager.rs +++ b/src/bin/proxmox-backup-manager.rs @@ -412,7 +412,7 @@ async fn run() -> Result<(), Error> { ) .completion_cb("remote", pbs_config::remote::complete_remote_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( "verify", diff --git a/src/bin/proxmox_backup_manager/sync.rs b/src/bin/proxmox_backup_manager/sync.rs index 237d1f87..9ba7578a 100644 --- a/src/bin/proxmox_backup_manager/sync.rs +++ b/src/bin/proxmox_backup_manager/sync.rs @@ -105,7 +105,10 @@ pub fn sync_job_commands() -> CommandLineInterface { .completion_cb("store", pbs_config::datastore::complete_datastore_name) .completion_cb("remote", pbs_config::remote::complete_remote_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( "update", @@ -115,7 +118,10 @@ pub fn sync_job_commands() -> CommandLineInterface { .completion_cb("schedule", pbs_config::datastore::complete_calendar_event) .completion_cb("store", pbs_config::datastore::complete_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( "remove",