From: Andre Noll Date: Thu, 4 Sep 2014 22:36:11 +0000 (+0200) Subject: subcommand: Add documentation of gsu_complete_options(). X-Git-Url: http://git.tuebingen.mpg.de/?p=gsu.git;a=commitdiff_plain;h=769dc36ab2a5961568474be1e31264418d44dbfc subcommand: Add documentation of gsu_complete_options(). It's a public function that should be documented. --- 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