Fix: Error out when passing an argument to long option that takes no argument
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 9 Apr 2021 16:39:19 +0000 (12:39 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Sat, 10 Apr 2021 01:35:14 +0000 (21:35 -0400)
If the user defines a long option `--foo` and passes `--foo=arg`, the
current behavior is that the option foo is recognized and the argument
is ignored.  Change that to be an error.

It is currently not possible to pass arguments to short options using an
equal sign, so this doesn't apply to short options.

Change-Id: I4b0c50398161aebc81789fdb3fce19a80a5f6646
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>

No differences found
This page took 0.022509 seconds and 4 git commands to generate.