mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
exit after showing usage
This commit is contained in:
parent
daa64a19a4
commit
7015ae500b
3 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@ LIMIT=10000
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $0 [--limit <n>]"
|
echo "usage: $0 [--limit <n>]"
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
|
|
@ -6,6 +6,7 @@ CONNNAME=""
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $0 [--connname <s>]"
|
echo "usage: $0 [--connname <s>]"
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
|
|
@ -6,6 +6,7 @@ LIMIT=10000
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "usage: $0 [--limit <n>]"
|
echo "usage: $0 [--limit <n>]"
|
||||||
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
|
|
Loading…
Reference in a new issue