From f9a51322cb65a94cbed70a6da1338479334a5bb3 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 2 Dec 2019 08:52:08 +0100 Subject: [PATCH] src/cli/command.rs: use insert_help() --- src/cli/command.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/command.rs b/src/cli/command.rs index 01562da0..d070f436 100644 --- a/src/cli/command.rs +++ b/src/cli/command.rs @@ -224,7 +224,7 @@ pub fn run_cli_command(def: CommandLineInterface) { let def = match def { CommandLineInterface::Simple(cli_cmd) => CommandLineInterface::Simple(cli_cmd), CommandLineInterface::Nested(map) => - CommandLineInterface::Nested(map.insert("help", help_command_def().into())), + CommandLineInterface::Nested(map.insert_help().into()), }; let mut args = std::env::args();