From: Ian Lynagh Date: Fri, 13 Jan 2006 21:24:20 +0000 (+0000) Subject: Pass anything through to darcs and let it do the failing on bad commands X-Git-Tag: final_switch_to_darcs,_this_repo_is_now_live~6 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=a52c9ee87491e0dfd2f8f816c40c80ea2712c6c3 Pass anything through to darcs and let it do the failing on bad commands --- diff --git a/darcs-all b/darcs-all index 544d9cc..222c512 100644 --- a/darcs-all +++ b/darcs-all @@ -1,5 +1,7 @@ #!/bin/sh +set -e + top_dirs="nofib testsuite" default_repo_root="http://darcs.haskell.org/" @@ -58,7 +60,6 @@ if test ! -d _darcs -o ! -d ghc; then fi case $1 in - push|pull|wh*) darcsall $*;; get) shift; darcsget $*;; - *) echo "syntax: ./darcs-all push|pull|whatsnew|get"; exit 1;; + *) darcsall $*;; esac