Print only basename in the usage
authorSofian Brabez <sofian.brabez@gonitro.com>
Thu, 5 Sep 2019 09:20:41 +0000 (10:20 +0100)
committerSofian Brabez <sofian.brabez@gonitro.com>
Thu, 5 Sep 2019 13:48:12 +0000 (14:48 +0100)
release.sh

index 0913f5017b1eabb163f849f27a84737d4b76048a..9577a014cbcf35d547a77f5fbfe872267c67e5ff 100755 (executable)
@@ -10,7 +10,7 @@ die() {
 
 usage() {
     cat <<EOF
-${0} [options] [arguments]
+${0##*/} [options] [arguments]
 
 Arguments: