Re: [PATCH 4/4] parse-options: simplify parse_options_dup()
René Scharfe <l.s.r@web.de> writes:
Show 7 quoted lines
> Simplify parse_options_dup() by making it a trivial wrapper of
> parse_options_concat() by making use of the facts that the latter
> duplicates its input as well and that appending an empty set is a no-op.
> ...
> + struct option no_options[] = { OPT_END() };
> +
> + return parse_options_concat(o, no_options);Can't say if this is tricky or cute, but I like it ;-)
Will queue all four. Thanks.