summaryrefslogtreecommitdiff
path: root/Command/DiffDriver.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/DiffDriver.hs')
-rw-r--r--Command/DiffDriver.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/DiffDriver.hs b/Command/DiffDriver.hs
index 2c9b4a39d..1164dd103 100644
--- a/Command/DiffDriver.hs
+++ b/Command/DiffDriver.hs
@@ -73,7 +73,7 @@ parseReq opts = case separate (== "--") opts of
mk (unmergedpath:[]) = UnmergedReq { rPath = unmergedpath }
mk _ = badopts
- badopts = error $ "Unexpected input: " ++ unwords opts
+ badopts = giveup $ "Unexpected input: " ++ unwords opts
{- Check if either file is a symlink to a git-annex object,
- which git-diff will leave as a normal file containing the link text.