gsu: print $(basename $0) instead of $0 on help output.
authorAndre Noll <maan@congo.fml.local>
Wed, 11 Jul 2007 13:33:07 +0000 (15:33 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Aug 2014 19:36:07 +0000 (21:36 +0200)
funcs/gsu

index 0403039f90661a3ac36ce534c5e8befff37e5a4b..8c5748ed95756412c189cc978db37ebdfe4f1e24 100644 (file)
--- a/funcs/gsu
+++ b/funcs/gsu
@@ -127,7 +127,7 @@ com_help()
                                 echo "$b"
                         done
                echo
                                 echo "$b"
                         done
                echo
-               gsu_msg "Try $0 help <command> for info on <command>."
+               gsu_msg "Try $gsu_self help <command> for info on <command>."
                ret=$GSU_SUCCESS
                return
        fi
                ret=$GSU_SUCCESS
                return
        fi