From 7f30fe377c7345b367a578270dcb51ba87a7ad43 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 7 Sep 2017 13:01:21 +0200 Subject: [PATCH] Update CONTRIBUTING for new completion --- CONTRIBUTING.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.asciidoc b/CONTRIBUTING.asciidoc index 7d42cad28..9567b26a3 100644 --- a/CONTRIBUTING.asciidoc +++ b/CONTRIBUTING.asciidoc @@ -479,7 +479,8 @@ The following arguments are supported for `@cmdutils.argument`: - `win_id=True`: Mark the argument as special window ID argument - `count=True`: Mark the argument as special count argument - `hide=True`: Hide the argument from the documentation -- `completion`: A `usertypes.Completion` member to use as completion. +- `completion`: A completion function (see `qutebrowser.completions.models.*`) + to use when completing arguments for the given command. - `choices`: The allowed string choices for the argument. The name of an argument will always be the parameter name, with any trailing