summaryrefslogtreecommitdiff
path: root/git-am.sh
diff options
context:
space:
mode:
authorfreku045@student.liu.se <freku045@student.liu.se>2005-12-13 23:30:31 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-14 02:53:44 -0800
commitcf1fe88ce1fb75db14549e9d57d88c2ad88caf9d (patch)
tree52c6f8d31854bd29d9e6eee531d1730e8c85ca24 /git-am.sh
parent4e7824b12e71127f1e3cf76fe2855887599c0dc6 (diff)
downloadgit-cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d.tar.gz
git-am: Usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-am.sh')
-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"