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-export.sh
diff --git
a/tg-export.sh
b/tg-export.sh
index 7fcafbeabd556c5bb0701178ab05e0c28f558cbd..654b38bf50805c182f67f189ce4cf5cfecda3fc0 100644
(file)
--- a/
tg-export.sh
+++ b/
tg-export.sh
@@
-18,7
+18,7
@@
while [ -n "$1" ]; do
--collapse)
driver=collapse;;
-*)
--collapse)
driver=collapse;;
-*)
- echo "Usage: tg export ([--collapse] NEWBRANCH | --quilt DIRECTORY)" >&2
+ echo "Usage: tg
[...]
export ([--collapse] NEWBRANCH | --quilt DIRECTORY)" >&2
exit 1;;
*)
[ -z "$output" ] || die "output already specified ($output)"
exit 1;;
*)
[ -z "$output" ] || die "output already specified ($output)"