mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:38:12 +01:00
use parseArgs for 'editor' option
This commit is contained in:
@@ -748,7 +748,7 @@ liberator.Editor = function () //{{{
|
||||
return false;
|
||||
|
||||
var editor = liberator.options["editor"];
|
||||
var args = editor.split(" ");
|
||||
var args = liberator.commands.parseArgs(editor, [], "*", true).arguments;
|
||||
if (args.length < 1)
|
||||
{
|
||||
liberator.echoerr("no editor specified");
|
||||
|
||||
Reference in New Issue
Block a user