Skip to content

init: option parsing fixes

Stefan Hajnoczi fio 1 version Applied

Status from this message: Thanks, applied both!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2init: --minimal does not take an optional argumentinit.c+1 -10 replies
2/2init: log error on missing --output-format argumentinit.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] init: option parsing fixes

Patch 1 changes --minimal from optional_argument to no_argument. There seems to be no reason why optional_argument was used (the option doesn't use optarg).

Patch 2 fixes a segfault when --output-format is used without an argument.

Stefan Hajnoczi (2):
init: --minimal does not take an optional argument
init: log error on missing --output-format argument

 init.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.5.3