This series changes some of vshCommandOpt* functions to return tri-state result
according to cases if argument was found and valid and permutations.
In addition, we ensure const-correctness of vshCommandOptString function and
related code.
Michal Privoznik (2):
virsh: change vshCommandOptString return type and fix
const-correctness
virsh: Change option parsing functions to return tri-state
information.
tools/virsh.c | 717 +++++++++++++++++++++++++++------------------------------
1 files changed, 335 insertions(+), 382 deletions(-)
--
1.7.4