From: Ian Jackson Date: Fri, 17 Jul 2015 17:00:51 +0000 (+0100) Subject: xl: Command line: Support xl vcpu-set --help X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2696 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=24ee2db6891ecf1747c7d0eefbba9b3db9ef7314;p=xen.git xl: Command line: Support xl vcpu-set --help This ended with a literal sentinel. Use COMMON_LONG_OPTIONS (which mentions --help) instead. Signed-off-by: Ian Jackson Acked-by: Wei Liu Acked-by: Ian Campbell --- diff --git a/tools/libxl/xl_cmdimpl.c b/tools/libxl/xl_cmdimpl.c index 4c53f292ac..ce8280faad 100644 --- a/tools/libxl/xl_cmdimpl.c +++ b/tools/libxl/xl_cmdimpl.c @@ -5409,7 +5409,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;