mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Keep -? as usage.
This commit is contained in:
parent
a0b39dba31
commit
768fb9080f
@ -153,6 +153,10 @@ args_parse(const struct args_parse *parse, struct args_value *values,
|
||||
flag = *string++;
|
||||
if (flag == '\0')
|
||||
break;
|
||||
if (flag == '?') {
|
||||
args_free(args);
|
||||
return (NULL);
|
||||
}
|
||||
if (!isalnum(flag)) {
|
||||
xasprintf(cause, "invalid flag -%c", flag);
|
||||
args_free(args);
|
||||
|
Loading…
Reference in New Issue
Block a user