-/* $OpenBSD: cmd-bind-key.c,v 1.44 2021/08/25 08:51:55 nicm Exp $ */
+/* $OpenBSD: cmd-bind-key.c,v 1.45 2021/08/25 09:18:08 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
};
static enum args_parse_type
-cmd_bind_key_args_parse(__unused struct args *args, u_int idx,
+cmd_bind_key_args_parse(__unused struct args *args, __unused u_int idx,
__unused char **cause)
{
- if (idx == 1)
- return (ARGS_PARSE_COMMANDS_OR_STRING);
- return (ARGS_PARSE_STRING);
+ return (ARGS_PARSE_COMMANDS_OR_STRING);
}
static enum cmd_retval