From: Andre Noll Date: Sun, 31 Aug 2014 17:06:40 +0000 (+0200) Subject: Fix _gsu_banner_msg(). X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=c6de1322bab25a884ad48300f33d7ac623074005;hp=-c;p=gsu.git Fix _gsu_banner_msg(). This function did not print the banner at all. It also had only a single caller. This patch removes the function and changes the single caller to print the banner text. --- c6de1322bab25a884ad48300f33d7ac623074005 diff --git a/subcommand b/subcommand index 6b5df0a..06f677b 100644 --- a/subcommand +++ b/subcommand @@ -192,11 +192,6 @@ _com_man() ret=$GSU_SUCCESS } -_gsu_banner_msg() -{ - gsu_short_msg "### $_gsu_self -- ###" -} - export gsu_help_txt=" Print online help. @@ -227,7 +222,7 @@ _com_help() ere="$result" if (($# == 0)); then - _gsu_banner_msg 2>&1 + gsu_short_msg "### $_gsu_self -- $gsu_banner_txt ###" _gsu_usage 2>&1 { printf "com_help()\n$gsu_help_txt" | head -n 4; echo "--"