chiark
/
gitweb
/
~ian
/
topgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Account for direct-tg arguments in Usage strings
[topgit.git]
/
tg-patch.sh
diff --git
a/tg-patch.sh
b/tg-patch.sh
index 79e5cb3890a142a048cc2013089150fc24dad20b..7a2471827d1e27db9a520f51541cecc4dd69c12a 100644
(file)
--- a/
tg-patch.sh
+++ b/
tg-patch.sh
@@
-12,7
+12,7
@@
while [ -n "$1" ]; do
arg="$1"; shift
case "$arg" in
-*)
- echo "Usage: tg patch [NAME]" >&2
+ echo "Usage: tg
[...]
patch [NAME]" >&2
exit 1;;
*)
[ -z "$name" ] || die "name already specified ($name)"