On Mon, Mar 11, 2024 at 12:31:00 +0100, Peter Krempa wrote:
The command line parser automatically requires the option name for
any
optional arguments, but for required non-positional ones special
handling needs to be done.
This patch makes the VSH_OFLAG_REQ_OPT flag completely redundant as it
can be calculated.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
I've noticed a regression after this patch so I'll drop it for now and
post it with part 2.