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",