Update CONTRIBUTING for new completion

This commit is contained in:
Florian Bruhin 2017-09-07 13:01:21 +02:00
parent 1938520878
commit 7f30fe377c

View File

@ -479,7 +479,8 @@ The following arguments are supported for `@cmdutils.argument`:
- `win_id=True`: Mark the argument as special window ID argument - `win_id=True`: Mark the argument as special window ID argument
- `count=True`: Mark the argument as special count argument - `count=True`: Mark the argument as special count argument
- `hide=True`: Hide the argument from the documentation - `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. - `choices`: The allowed string choices for the argument.
The name of an argument will always be the parameter name, with any trailing The name of an argument will always be the parameter name, with any trailing