Skip to content

Commit 214c85e

Browse files
scopakinomyoga
andauthored
docs(_comp_compgen_commands): document return value
Co-authored-by: Koichi Murase <myoga.murase@gmail.com>
1 parent 9d3362e commit 214c85e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bash_completion

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,6 +2702,9 @@ _complete_as_root()
27022702
}
27032703

27042704
# Complete on available commands, subject to `no_empty_cmd_completion`.
2705+
# @return True (0) if one or more completions are generated, or otherwise False
2706+
# (1). Note that it returns 1 even when the completion generation is canceled
2707+
# by `shopt -s no_empty_cmd_completion`.
27052708
#
27062709
# @since 2.12
27072710
_comp_compgen_commands()

0 commit comments

Comments
 (0)