summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-05-11 07:41:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-05-11 07:41:44 +0200
commite94e4a92f4a6867915a4c423881bd379f0c1191e (patch)
tree2b49746e4c13b72344f2ac4b7c6fc6d9379cfee5 /doc/en
parent951d1410d9ca7298f84d668e8b334e982f59a101 (diff)
downloadweechat-e94e4a92f4a6867915a4c423881bd379f0c1191e.zip
doc: add arvg[2] in example of function string_split_command (plugin API reference)
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_plugin_api.en.asciidoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.asciidoc b/doc/en/weechat_plugin_api.en.asciidoc
index 80444f1e5..3ab97e79a 100644
--- a/doc/en/weechat_plugin_api.en.asciidoc
+++ b/doc/en/weechat_plugin_api.en.asciidoc
@@ -1626,6 +1626,7 @@ C example:
char **argv = weechat_string_split_command ("/command1 arg;/command2", ';');
/* result: argv[0] == "/command1 arg"
argv[1] == "/command2"
+ argv[2] == NULL
*/
weechat_free_split_command (argv);
----