diff --git a/src/bin/proxmox_tape/changer.rs b/src/bin/proxmox_tape/changer.rs index 7968d4b5..02c93a8c 100644 --- a/src/bin/proxmox_tape/changer.rs +++ b/src/bin/proxmox_tape/changer.rs @@ -34,7 +34,7 @@ use proxmox_backup::{ pub fn changer_commands() -> CommandLineInterface { let cmd_def = CliCommandMap::new() - .insert("scan-for-changers", CliCommand::new(&API_METHOD_SCAN_FOR_CHANGERS)) + .insert("scan", CliCommand::new(&API_METHOD_SCAN_FOR_CHANGERS)) .insert("list", CliCommand::new(&API_METHOD_LIST_CHANGERS)) .insert("config", CliCommand::new(&API_METHOD_GET_CONFIG) diff --git a/src/bin/proxmox_tape/drive.rs b/src/bin/proxmox_tape/drive.rs index 5bbfb175..799840bd 100644 --- a/src/bin/proxmox_tape/drive.rs +++ b/src/bin/proxmox_tape/drive.rs @@ -32,7 +32,7 @@ use proxmox_backup::{ pub fn drive_commands() -> CommandLineInterface { let cmd_def = CliCommandMap::new() - .insert("scan-for-drives", CliCommand::new(&API_METHOD_SCAN_FOR_DRIVES)) + .insert("scan", CliCommand::new(&API_METHOD_SCAN_FOR_DRIVES)) .insert("list", CliCommand::new(&API_METHOD_LIST_DRIVES)) .insert("config", CliCommand::new(&API_METHOD_GET_CONFIG)