From 9ac1045c7b4a5b084ffcbcd162500a5dc2b8d5e0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 12 Feb 2019 10:08:23 +0100 Subject: [PATCH] bin: manager: fixup datastore parameter name Signed-off-by: Wolfgang Bumiller --- src/bin/proxmox-backup-manager.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/proxmox-backup-manager.rs b/src/bin/proxmox-backup-manager.rs index c9007b0c..3cc2d594 100644 --- a/src/bin/proxmox-backup-manager.rs +++ b/src/bin/proxmox-backup-manager.rs @@ -33,13 +33,13 @@ fn garbage_collection_commands() -> CommandLineInterface { let cmd_def = CliCommandMap::new() .insert("status", CliCommand::new(api2::admin::datastore::api_method_garbage_collection_status()) - .arg_param(vec!["name"]) - .completion_cb("name", config::datastore::complete_datastore_name) + .arg_param(vec!["store"]) + .completion_cb("store", config::datastore::complete_datastore_name) .into()) .insert("start", CliCommand::new(api2::admin::datastore::api_method_start_garbage_collection()) - .arg_param(vec!["name"]) - .completion_cb("name", config::datastore::complete_datastore_name) + .arg_param(vec!["store"]) + .completion_cb("store", config::datastore::complete_datastore_name) .into()); cmd_def.into()