[pve-devel] [PATCH common v2 0/3] cli_handler: add output parameters conditionally

Stoiko Ivanov s.ivanov at proxmox.com
Mon Jul 16 20:58:57 CEST 2018


As indicated in the patch sent earlier today the first patch fixes the problem
of receiving duplicate notifications from a scheduled vzdump invocation.

Changes from v1: the output parameters are added only to those cli methods,
that have an output sub defined.

Additionally the parameters are added to the usage message generation and
bash-completion.

Stoiko Ivanov (3):
  cli_handler: don't clobber existing options
  Add output_parameters to bash_completion and usage
  Only add output_parameters to commands with output

 src/PVE/CLIHandler.pm  | 19 +++++++++++--------
 src/PVE/RESTHandler.pm | 21 ++++++++++++++++-----
 2 files changed, 27 insertions(+), 13 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list