Merge branch 't/kill_gsu_self'
[gsu.git] / subcommand
index 8bb755f1003feab180e25c3765f751a0441333ed..6449d6efffaeba565b25c905f34f39eb9ae07db0 100644 (file)
@@ -192,11 +192,6 @@ _com_man()
         ret=$GSU_SUCCESS
 }
 
         ret=$GSU_SUCCESS
 }
 
-_gsu_banner_msg()
-{
-       gsu_short_msg "### $gsu_name -- ###"
-}
-
 export gsu_help_txt="
 Print online help.
 
 export gsu_help_txt="
 Print online help.
 
@@ -227,7 +222,7 @@ _com_help()
        ere="$result"
 
        if (($# == 0)); then
        ere="$result"
 
        if (($# == 0)); then
-               _gsu_banner_msg 2>&1
+               gsu_short_msg "### $gsu_name -- $gsu_banner_txt ###"
                _gsu_usage 2>&1
                {
                        printf "com_help()\n$gsu_help_txt" | head -n 4; echo "--"
                _gsu_usage 2>&1
                {
                        printf "com_help()\n$gsu_help_txt" | head -n 4; echo "--"