From 63d9218fbe35cc3c0a3e8237bc6ed6d707a31488 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 2 Dec 2015 00:58:15 +0000 Subject: [PATCH] Fix :def documentation in README.asciidoc --- README.asciidoc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index f9089e5d..4e80e35f 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -1295,15 +1295,20 @@ New commands can be defined using the `:def` command. `def` can also takes some flags: - * `-shell-params`: pass parameters given to commands as positional parameters - to any shell expansions used in the command. + * `-params `: the command accept parameters, with + either a number, or of the form .., with both and + omittable. * `-file-completion`: try file completion on any parameter passed - to this command + to this command + * `-client-completion`: try client name completion on any parameter + passed to this command + * `-buffer-completion`: try buffer name completion on any parameter + passed to this command * `-shell-completion`: following string is a shell command which takes - parameters as positional params and output one - completion candidate per line. + parameters as positional params and output one completion candidate + per line. * `-allow-override`: allow the new command to replace an exisiting one - with the same name. + with the same name. * `-hidden`: do not show the command in command name completions * `-docstring`: define the documentation string for the command