From 55c3cb69cd9c2b9a0c56674f8e57ad92eacaf17d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Fri, 6 Dec 2019 09:42:05 +0100 Subject: [PATCH] rename catalog_shell_api() into catalog_shell_cli() --- src/backup/catalog_shell.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backup/catalog_shell.rs b/src/backup/catalog_shell.rs index ce37d976..eb2ec965 100644 --- a/src/backup/catalog_shell.rs +++ b/src/backup/catalog_shell.rs @@ -25,7 +25,7 @@ pub struct Shell { /// This list defines all the shell commands and their properties /// using the api schema -pub fn catalog_shell_api() -> CommandLineInterface { +pub fn catalog_shell_cli() -> CommandLineInterface { let map = CliCommandMap::new() .insert("pwd", CliCommand::new(&API_METHOD_PWD_COMMAND).into()) @@ -110,7 +110,7 @@ impl Shell { }); }); - let cli_helper = CliHelper::new(catalog_shell_api()); + let cli_helper = CliHelper::new(catalog_shell_cli()); let mut rl = rustyline::Editor::::new(); rl.set_helper(Some(cli_helper));