1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 23:47:58 +01:00

Banish old commands.parseArgs prototype.

This commit is contained in:
Kris Maglione
2010-09-24 15:59:51 -04:00
parent 0753c9505e
commit 3645cd27d0
3 changed files with 4 additions and 7 deletions

View File

@@ -283,7 +283,7 @@ const Editor = Module("editor", {
editFileExternally: function (path) {
// TODO: save return value in v:shell_error
let args = commands.parseArgs(options["editor"], [], "*", true);
let args = commands.parseArgs(options["editor"], { argCount: "*", allowUnknownOptions: true });
dactyl.assert(args.length >= 1, "No editor specified");