[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/5] xl: Command line: Support -h everywhere

On Fri, Jul 17, 2015 at 06:00:49PM +0100, Ian Jackson wrote:
> xl subcommands ought all to take -h.  def_getopt and hence
> SWITCH_FOREACH_OPT already handles 'h' by calling helpstr.  None of
> the call sites see the 'h'.
> In this patch:
>  * Change SWITCH_FOREACH_OPT to always add a "h" to the short opts
>    string, using string concatenation.
>  * Remove the now-redundant h's from some existing option strings.
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.