summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar freku045@student.liu.se <freku045@student.liu.se>2005-12-13 23:30:31 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2005-12-14 02:53:44 -0800
commitcf1fe88ce1fb75db14549e9d57d88c2ad88caf9d (patch)
tree52c6f8d31854bd29d9e6eee531d1730e8c85ca24
parentgit-revert: Usage string clean-up (diff)
downloadtgif-cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d.tar.xz
git-am: Usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-am.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/git-am.sh b/git-am.sh
index 6ed527c7a9..39f255209e 100755
--- a/git-am.sh
+++ b/git-am.sh
@@ -1,14 +1,10 @@
#!/bin/sh
#
#
-. git-sh-setup
-usage () {
- echo >&2 "usage: $0 [--signoff] [--dotest=<dir>] [--utf8] [--binary] [--3way] <mbox>"
- echo >&2 " or, when resuming"
- echo >&2 " $0 [--skip | --resolved]"
- exit 1;
-}
+USAGE='[--signoff] [--dotest=<dir>] [--utf8] [--binary] [--3way] <mbox>
+ or, when resuming [--skip | --resolved]'
+. git-sh-setup
stop_here () {
echo "$1" >"$dotest/next"