summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfreku045@student.liu.se <freku045@student.liu.se>2005-12-13 22:30:31 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-14 10:53:44 (GMT)
commitcf1fe88ce1fb75db14549e9d57d88c2ad88caf9d (patch)
tree52c6f8d31854bd29d9e6eee531d1730e8c85ca24
parent4e7824b12e71127f1e3cf76fe2855887599c0dc6 (diff)
downloadgit-cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d.zip
git-cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d.tar.gz
git-cf1fe88ce1fb75db14549e9d57d88c2ad88caf9d.tar.bz2
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 6ed527c..39f2552 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"