]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/bin/proxmox_backup_client/mount.rs
src/bin/proxmox_backup_client/mount.rs: fix img name completion
[proxmox-backup.git] / src / bin / proxmox_backup_client / mount.rs
index c634674ad39e53f61aec1e1b2ec48b576970e522..4cadec552de88c405976e62b2aca318ade27d360 100644 (file)
@@ -34,6 +34,7 @@ use crate::{
     REPO_URL_SCHEMA,
     extract_repository_from_value,
     complete_pxar_archive_name,
+    complete_img_archive_name,
     complete_group_or_snapshot,
     complete_repository,
     record_repository,
@@ -101,7 +102,7 @@ pub fn map_cmd_def() -> CliCommand {
         .arg_param(&["snapshot", "archive-name"])
         .completion_cb("repository", complete_repository)
         .completion_cb("snapshot", complete_group_or_snapshot)
-        .completion_cb("archive-name", complete_pxar_archive_name)
+        .completion_cb("archive-name", complete_img_archive_name)
 }
 
 pub fn unmap_cmd_def() -> CliCommand {