From 5605ca5619dcd59ffbdd856d320e5cb8779796f5 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 10 Dec 2020 07:58:45 +0100 Subject: [PATCH] tape: cli cleanup - rename scana-for-* into scan --- src/bin/proxmox_tape/changer.rs | 2 +- src/bin/proxmox_tape/drive.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)