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

Vimify "Unknown option" error message.

This commit is contained in:
Doug Kearns
2009-09-12 23:21:20 +10:00
parent 35dd75b897
commit ddfb66e3d8

View File

@@ -617,7 +617,7 @@ function Options() //{{{
let option = opt.option;
if (option == null && !opt.all)
return void liberator.echoerr("No such option: " + opt.name);
return void liberator.echoerr("E518: Unknown option: " + arg);
// reset a variable to its default value
if (opt.reset)
@@ -1218,7 +1218,7 @@ function Options() //{{{
},
/**
* Parses a :set command.
* Parses a :set command's argument string.
*
* @param {string} args The :set command's argument string.
* @param {Object} modifiers A hash of parsing modifiers. These are: