X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=tg.sh;fp=tg.sh;h=4dcc15eff90bcc581980336b94d44f40e2385759;hb=f17218ec8187dedb98ea3c6ef40b73b95df1d262;hp=9b93f1db17990effa6025b69fc62806c0b718f3f;hpb=e1f33bffec8c5254cbe23ccca8b916daad6db66b;p=topgit.git diff --git a/tg.sh b/tg.sh index 9b93f1d..4dcc15e 100644 --- a/tg.sh +++ b/tg.sh @@ -266,7 +266,7 @@ if [ "$1" = "-r" ]; then fi cmd="$1" -[ -n "$cmd" ] || die "He took a duck in the face at two hundred and fifty knots" +[ -n "$cmd" ] || { do_help; exit 1; } shift case "$cmd" in