From 044f6e5784e7023bb69d2be3e3e98bd0ab3062c5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 4 Oct 2010 14:20:05 -0400 Subject: [PATCH] Better error messages for multiple command command-lines where one doesn't exist. --- common/content/dactyl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index baba63d0..e2ce6921 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -356,7 +356,7 @@ const Dactyl = Module("dactyl", { let err = null; for (let [command, args] in commands.parseCommands(str.replace(/^'(.*)'$/, "$1"))) { if (command === null) - throw FailedAssertion("E492: Not a " + config.appName + " command: " + str); + throw FailedAssertion("E492: Not a " + config.appName + " command: " + args.commandString); if (!silent) commandline.command = str.replace(/^\s*:\s*/, "");