Skip to content

Commit

Permalink
Merge pull request #5 from 8percent/170116_usage_basename
Browse files Browse the repository at this point in the history
FIX: use basename for showing usage
  • Loading branch information
nalssing authored Jan 16, 2017
2 parents cb11fcb + bd76f18 commit a3d450d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion git-feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BR_MASTER="master"

if [ $# -ne 1 ]
then
echo "usage: $0 FEATURE_NAME"
echo "usage: $(basename $0) FEATURE_NAME"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion git-mr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ BR_MASTER="master"

if [ $# -ne 0 ]
then
echo "usage: $0"
echo "usage: $(basename $0)"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion git-pr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ $# -ne 0 ]
then
echo "usage: $0"
echo "usage: $(basename $0)"
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions git-pub
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ $# -ne 0 ]
then
echo "usage: $0"
echo "usage: $(basename $0)"
exit 1
fi

Expand All @@ -29,4 +29,4 @@ if [ $? -ne 0 ]
then
echo "Push failed"
exit 1
fi
fi
2 changes: 1 addition & 1 deletion git-release
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if [ $# -ne 0 ]
then
echo "usage: $0"
echo "usage: $(basename $0)"
exit 1
fi

Expand Down

0 comments on commit a3d450d

Please sign in to comment.