diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-31 19:31:32 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-31 19:31:32 +0100 |
| commit | aff8ffe0646899d5bedf6a8d2d88fff257645c45 (patch) | |
| tree | 36ff31fa083c2624b466d3348521a6fe464d15b6 /vis.h | |
| parent | a11d14b24b3322dddf03f5c6fb4f7d75165cd25c (diff) | |
| download | vis-aff8ffe0646899d5bedf6a8d2d88fff257645c45.tar.gz vis-aff8ffe0646899d5bedf6a8d2d88fff257645c45.tar.xz | |
vis: allow user registered :-commands to specify a help text
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
