mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
error message when --recursive is called on bind
This commit is contained in:
parent
1b860da584
commit
1dafb76912
|
|
@ -4373,6 +4373,10 @@ export function comclear(name: string) {
|
|||
*/
|
||||
//#background
|
||||
export async function bind(...args: string[]) {
|
||||
if (args.includes("--recursive")) {
|
||||
throw new Error("`--recursive` can only be called on unbind.")
|
||||
}
|
||||
|
||||
const args_obj = parse_bind_args(...args)
|
||||
let p = Promise.resolve()
|
||||
if (args_obj.excmd !== "") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue