Skip to content

Commit c5793b1

Browse files
akinomyogascop
andauthored
docs(api-and-naming): elaborate on the argument list
Co-authored-by: Ville Skyttä <[email protected]>
1 parent 86a7ae2 commit c5793b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api-and-naming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ concept is later extended to also mean "eXported".
144144
The generator functions, which have names of the form `_comp_compgen_NAME`, are
145145
used to generate completion candidates. A generator function is supposed to be
146146
called by `_comp_compgen [OPTS] NAME ARGS` where `OPTS = -aR|-v var|-c cur|-C
147-
dir|-U var|-P pref` are the options to modify the behavior (see the code
147+
dir|-U var|-P prefix` are the options to modify the behavior (see the code
148148
comment of `_comp_compgen` for details). When there are no `opts`, the
149149
generator function is supposed to be directly called as `_comp_compgen_NAME
150150
ARGS`. The result is stored in the target variable (which is `COMPREPLY` by

0 commit comments

Comments
 (0)