tape: cli cleanup - rename scana-for-* into scan

This commit is contained in:
Dietmar Maurer 2020-12-10 07:58:45 +01:00
parent e49f0c03d9
commit 5605ca5619
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ use proxmox_backup::{
pub fn changer_commands() -> CommandLineInterface { pub fn changer_commands() -> CommandLineInterface {
let cmd_def = CliCommandMap::new() 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("list", CliCommand::new(&API_METHOD_LIST_CHANGERS))
.insert("config", .insert("config",
CliCommand::new(&API_METHOD_GET_CONFIG) CliCommand::new(&API_METHOD_GET_CONFIG)

View File

@ -32,7 +32,7 @@ use proxmox_backup::{
pub fn drive_commands() -> CommandLineInterface { pub fn drive_commands() -> CommandLineInterface {
let cmd_def = CliCommandMap::new() 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("list", CliCommand::new(&API_METHOD_LIST_DRIVES))
.insert("config", .insert("config",
CliCommand::new(&API_METHOD_GET_CONFIG) CliCommand::new(&API_METHOD_GET_CONFIG)