src/bin/proxmox-backup-manager.rs: add datastore update cli

This commit is contained in:
Dietmar Maurer 2020-01-14 14:47:26 +01:00
parent c5799e4043
commit ddc526623f

View File

@ -81,6 +81,10 @@ fn datastore_commands() -> CommandLineInterface {
CliCommand::new(&api2::config::datastore::API_METHOD_CREATE_DATASTORE)
.arg_param(&["name", "path"])
)
.insert("update",
CliCommand::new(&api2::config::datastore::API_METHOD_UPDATE_DATASTORE)
.arg_param(&["name"])
)
.insert("remove",
CliCommand::new(&api2::config::datastore::API_METHOD_DELETE_DATASTORE)
.arg_param(&["name"])