This ended with a literal sentinel. Use COMMON_LONG_OPTIONS (which mentions --help) instead.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- tools/libxl/xl_cmdimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 1fa98e6..337f805 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -5365,7 +5365,7 @@ int main_vcpuset(int argc, char **argv) { static struct option opts[] = { {"ignore-host", 0, 0, 'i'}, - {0, 0, 0, 0} + COMMON_LONG_OPTS }; int opt, check_host = 1; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel