Fix $2 example in _get_cword doc.
This commit is contained in:
parent
c9c98da36e
commit
8f56de625e
@ -265,7 +265,7 @@ __reassemble_comp_words_by_ref() {
|
|||||||
# ensures we get the same word on both bash-3 and bash-4.
|
# ensures we get the same word on both bash-3 and bash-4.
|
||||||
# @param $2 integer Index number of word to return, negatively offset to the
|
# @param $2 integer Index number of word to return, negatively offset to the
|
||||||
# current word (default is 0, previous is 1), respecting the exclusions
|
# current word (default is 0, previous is 1), respecting the exclusions
|
||||||
# given at $1. For example, `__get_cword4 "=:" 1' returns the word left of
|
# given at $1. For example, `_get_cword "=:" 1' returns the word left of
|
||||||
# the current word, respecting the exclusions "=:".
|
# the current word, respecting the exclusions "=:".
|
||||||
#
|
#
|
||||||
_get_cword()
|
_get_cword()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user