From c2b4016354eff4dd872ccc5c84231c8a4e96632f Mon Sep 17 00:00:00 2001 From: Andrew Bower Date: Tue, 21 Jan 2025 15:18:25 +0000 Subject: [PATCH] SWPTP-1348: tstool: stop processing options on 1st positional arg --- src/tstool/tstool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tstool/tstool.c b/src/tstool/tstool.c index 39798a07..c9222c09 100644 --- a/src/tstool/tstool.c +++ b/src/tstool/tstool.c @@ -35,7 +35,7 @@ #define OPT_PERSISTENT 0x10000 #define OPT_INITIAL 0x10001 -static const char *opts_short = "hv"; +static const char *opts_short = "+hv"; static const struct option opts_long[] = { { "help", 0, NULL, (int) 'h' }, { "verbose", 0, NULL, (int) 'v' },