aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-11-22 21:49:55 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-11-22 21:49:55 -0500
commita453ebf215e5e3ec3b27fa5142af77d7e3ca0c92 (patch)
treebf9dbd549fc551ac9d6acc52988704c492d93072 /src
parent7869c7447a181316abbdd0e4ff9c4331d56a1984 (diff)
Change error message
Diffstat (limited to 'src')
-rw-r--r--src/stdlib/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/cli.c b/src/stdlib/cli.c
index 359220e9..04538796 100644
--- a/src/stdlib/cli.c
+++ b/src/stdlib/cli.c
@@ -202,7 +202,7 @@ static List_t parse_arg_list(List_t args, const char *flag, void *dest, const Ty
if ((type->tag == TextInfo || type == &CString$info) && arg[0] == '\\' && arg[1] == '-') {
arg = arg + 1;
} else if (arg[0] == '-') {
- print_err("Not a valid argument for flag ", flag, ": ", arg);
+ print_err("Not a valid flag: ", arg);
}
}