aboutsummaryrefslogtreecommitdiffstats
path: root/x-hint.js
diff options
context:
space:
mode:
Diffstat (limited to 'x-hint.js')
-rwxr-xr-xx-hint.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/x-hint.js b/x-hint.js
index 0cb6cef..a722e84 100755
--- a/x-hint.js
+++ b/x-hint.js
@@ -128,7 +128,7 @@ let INFO =
(function () {
- const description = 'Show the hint with given xpath';
+ const description = 'Show the hint with given xpath.';
let last = {};
@@ -172,7 +172,7 @@ let INFO =
commands.addUserCommand(
['xh[int]'],
- description,
+ description + '(:xhint <mode> <xpath>)',
function (args) {
showHintsWith(args[0], args.literalArg);
},
@@ -198,7 +198,7 @@ let INFO =
commands.addUserCommand(
['xhintdo', 'xhdo'],
- 'Run js-code with X-Hint',
+ 'Run js-code with X-Hint. (:xhdo <xpath> <javascript>)',
function (args) {
js = args.literalArg;
showHintsWith(hintModeText, args[0]);