From 104faaf5f5f958b449d79a923cf8b0ce095a0205 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 3 Jul 2013 13:55:50 -0400 Subject: --all for get, move, and copy --- Seek.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Seek.hs') 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) -- cgit v1.2.3