Fix $2 example in _get_cword doc.

This commit is contained in:
Ville Skyttä 2009-12-24 15:31:19 +02:00
parent c9c98da36e
commit 8f56de625e

View File

@ -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()