src/bin/proxmox-backup-manager.rs: add datastore update cli
This commit is contained in:
parent
c5799e4043
commit
ddc526623f
|
@ -81,6 +81,10 @@ fn datastore_commands() -> CommandLineInterface {
|
||||||
CliCommand::new(&api2::config::datastore::API_METHOD_CREATE_DATASTORE)
|
CliCommand::new(&api2::config::datastore::API_METHOD_CREATE_DATASTORE)
|
||||||
.arg_param(&["name", "path"])
|
.arg_param(&["name", "path"])
|
||||||
)
|
)
|
||||||
|
.insert("update",
|
||||||
|
CliCommand::new(&api2::config::datastore::API_METHOD_UPDATE_DATASTORE)
|
||||||
|
.arg_param(&["name"])
|
||||||
|
)
|
||||||
.insert("remove",
|
.insert("remove",
|
||||||
CliCommand::new(&api2::config::datastore::API_METHOD_DELETE_DATASTORE)
|
CliCommand::new(&api2::config::datastore::API_METHOD_DELETE_DATASTORE)
|
||||||
.arg_param(&["name"])
|
.arg_param(&["name"])
|
||||||
|
|
Loading…
Reference in New Issue