From a52c9ee87491e0dfd2f8f816c40c80ea2712c6c3 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 13 Jan 2006 21:24:20 +0000 Subject: [PATCH] Pass anything through to darcs and let it do the failing on bad commands --- darcs-all | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.10.4