mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-04 04:17:22 +00:00
src/cli/command.rs: use insert_help()
This commit is contained in:
parent
e3e72546dd
commit
f9a51322cb
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user