[PATCH 3/25] git-checkout: Use $0 instead of program name in usage message.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
---
git-checkout.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
480ea8310be08611c841ae428c57003ac48c1827
diff --git a/git-checkout.sh b/git-checkout.sh
index 4cf30e2..2fcd766 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -2,7 +2,7 @@
. git-sh-setup
usage () {
- die "usage: git checkout [-f] [-b <new_branch>] [<branch>] [<paths>...]"
+ die "usage: $0 [-f] [-b <new_branch>] [<branch>] [<paths>...]"
}
old=$(git-rev-parse HEAD)
--
0.99.9.GIT