From: Neil.wrz Date: Thu, 1 Sep 2022 09:13:03 +0000 (-0700) Subject: fix error message when use tools with -? option X-Git-Tag: v6.0.0~99^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20cc784560124961e7dd173a690d70b6b6f0735e;p=thirdparty%2Flxc.git fix error message when use tools with -? option Signed-off-by: Neil.wrz --- diff --git a/src/lxc/tools/arguments.h b/src/lxc/tools/arguments.h index 0f0875079..92510ecbc 100644 --- a/src/lxc/tools/arguments.h +++ b/src/lxc/tools/arguments.h @@ -137,6 +137,7 @@ struct lxc_arguments { #define LXC_COMMON_OPTIONS \ { "name", required_argument, 0, 'n' }, \ { "help", no_argument, 0, 'h' }, \ + { "help", no_argument, 0, '?' }, \ { "usage", no_argument, 0, OPT_USAGE }, \ { "version", no_argument, 0, OPT_VERSION }, \ { "quiet", no_argument, 0, 'q' }, \