]> git.proxmox.com Git - pve-common.git/commit - src/PVE/CLIHandler.pm
CLIHandler: make read_password an optional class method
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Oct 2015 08:37:50 +0000 (10:37 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Oct 2015 08:37:50 +0000 (10:37 +0200)
commit891b798d5260042a747026b8d7bcab041296f443
tree694d6a52018a60997341ca5a13d087d358c8fe1f
parent820e3601485630a41a34a4d389adb1dbfe3877f1
CLIHandler: make read_password an optional class method

And correctly hide password option when generation man pages.
I also define a new method run_cli_handler() meant to replace
the old run_cli() code, using named parameters.
src/PVE/CLIHandler.pm