tape: cli cleanup - rename scana-for-* into scan
This commit is contained in:
parent
e49f0c03d9
commit
5605ca5619
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user