From 53ba65eb59d0bced37e73d8bf96a0d7a7285f662 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 7 Jan 2022 15:29:27 -0500 Subject: QPDFArgParser: handle optional choices including help Handle optional choices in addition to required choices. Refactor the way help options are added to completion to make it work with optional help choices. --- libtests/qtest/arg_parser/completion-top-arg-zsh.out | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libtests/qtest/arg_parser') diff --git a/libtests/qtest/arg_parser/completion-top-arg-zsh.out b/libtests/qtest/arg_parser/completion-top-arg-zsh.out index 11bcb3b6..5a500d38 100644 --- a/libtests/qtest/arg_parser/completion-top-arg-zsh.out +++ b/libtests/qtest/arg_parser/completion-top-arg-zsh.out @@ -1,5 +1,8 @@ --baaa --completion-zsh +--help +--help= +--help=all --moo --moo= --oink= -- cgit v1.2.3-54-g00ecf