From db2c7257ec518fe3e3cb1f8ea3a9cb32c227ce94 Mon Sep 17 00:00:00 2001 From: "Neil.wrz" Date: Thu, 1 Sep 2022 05:20:08 -0700 Subject: [PATCH] fix tools with -? option give error message Signed-off-by: Neil.wrz --- src/lxc/tools/arguments.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/tools/arguments.h b/src/lxc/tools/arguments.h index c16d99f..80c2083 100644 --- a/src/lxc/tools/arguments.h +++ b/src/lxc/tools/arguments.h @@ -145,6 +145,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' }, \ -- 2.25.1