summaryrefslogtreecommitdiff
path: root/Seek.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-03 13:55:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-03 13:55:50 -0400
commit104faaf5f5f958b449d79a923cf8b0ce095a0205 (patch)
tree788d417c8a3e7b8b2f8203268a52c2eb6494ebc2 /Seek.hs
parente5eeb401d1743372102ec4064b6f87453fdc8597 (diff)
--all for get, move, and copy
Diffstat (limited to 'Seek.hs')
-rw-r--r--Seek.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Seek.hs b/Seek.hs
index 4cd4c10a2..7f65adf5a 100644
--- a/Seek.hs
+++ b/Seek.hs
@@ -122,8 +122,8 @@ withNothing :: CommandStart -> CommandSeek
withNothing a [] = return [a]
withNothing _ _ = error "This command takes no parameters."
-{- If --all is specified, runs an action on all logged keys.
- - Otherwise, fall back to a regular CommandSeek action on
+{- If --all is specified, or in a bare repo, runs an action on all
+ - known keys. Otherwise, fall back to a regular CommandSeek action on
- whatever params were passed. -}
withAll :: (Key -> CommandStart) -> CommandSeek -> CommandSeek
withAll allop fallbackop params = go =<< (Annex.getFlag "all" <||> isbare)