From: Daniel Carl Date: Sat, 9 Mar 2013 00:20:48 +0000 (+0100) Subject: Changed error message if inspect command is called. X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=5541f278f0b13abebdeb1a0786695549b7ce8221;p=vimb.git Changed error message if inspect command is called. If the webinspector isn't enabled the error messaged showed the webkit setting that is not set to use the webinspector. But this setting has an alias and can therefore only be set by the alias. So we print the alias in the error message. --- diff --git a/src/command.c b/src/command.c index 562150f..9cd7608 100644 --- a/src/command.c +++ b/src/command.c @@ -352,7 +352,7 @@ gboolean command_inspect(Client* c, const Arg* arg) return TRUE; } - vp_echo(c, VP_MSG_ERROR, TRUE, "enable-developer-extras not enabled"); + vp_echo(c, VP_MSG_ERROR, TRUE, "webinspector is not enabled"); return FALSE; }