]> git.proxmox.com Git - pve-common.git/commit
cli: refactor print_bash_completion
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Jan 2018 12:25:29 +0000 (13:25 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 18 Jan 2018 07:59:34 +0000 (08:59 +0100)
commit5fa768fc8d9e872d6047a070be27180c4771b5f8
treed8a8556188166eaafebd2e1022a80b867cf089a6
parentb21cf5754615b1af8f0a4f8edaa4ab81ebaf4a86
cli: refactor print_bash_completion

move variables nearer to where they actually used.
drop program name early from argv array
drop unnecessary variables

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/CLIHandler.pm