From aff8ffe0646899d5bedf6a8d2d88fff257645c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 31 Dec 2016 19:31:32 +0100 Subject: vis: allow user registered :-commands to specify a help text --- vis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 192e5d2..8f76405 100644 --- a/vis.h +++ b/vis.h @@ -452,7 +452,7 @@ typedef bool (CmdFunc)(Vis*, Win*, void *data, bool force, const char *argv[], Cursor*, Filerange*); /* the function will be invoked whenever a command which matches a * unique prefix of the given name is executed */ -bool vis_cmd_register(Vis*, const char *name, void *data, CmdFunc*); +bool vis_cmd_register(Vis*, const char *name, const char *help, void *data, CmdFunc*); bool vis_cmd_unregister(Vis*, const char *name); /* execute any kind (:,?,/) of prompt command */ bool vis_prompt_cmd(Vis*, const char *cmd); -- cgit v1.2.3