From 769dc36ab2a5961568474be1e31264418d44dbfc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 5 Sep 2014 00:36:11 +0200 Subject: [PATCH] subcommand: Add documentation of gsu_complete_options(). It's a public function that should be documented. --- subcommand | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subcommand b/subcommand index 60d8402..1e04d16 100644 --- a/subcommand +++ b/subcommand @@ -68,6 +68,8 @@ _gsu_print_available_commands() printf '\n' } +# Print all options of the given optstring to stdout if the word in the current +# command line begins with a hyphen character. gsu_complete_options() { local opts="$1" cword="$2" cur opt -- 2.39.2