diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-03 13:55:50 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-03 13:55:50 -0400 |
commit | 104faaf5f5f958b449d79a923cf8b0ce095a0205 (patch) | |
tree | 788d417c8a3e7b8b2f8203268a52c2eb6494ebc2 /Seek.hs | |
parent | e5eeb401d1743372102ec4064b6f87453fdc8597 (diff) |
--all for get, move, and copy
Diffstat (limited to 'Seek.hs')
-rw-r--r-- | Seek.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |