diff options
author | 2012-01-06 10:14:37 -0400 | |
---|---|---|
committer | 2012-01-06 10:57:57 -0400 | |
commit | 1f8a1058c96bd4ee11fcb353f0ede1842d79ab6a (patch) | |
tree | 0754233445da5c75737aa2b7866881d30939ec56 /Command/Get.hs | |
parent | df21cbfdd2b7342c206ebd4aea32d989328374dc (diff) |
tweak
Diffstat (limited to 'Command/Get.hs')
-rw-r--r-- | Command/Get.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Get.hs b/Command/Get.hs index 1a0435c36..5d032e13c 100644 --- a/Command/Get.hs +++ b/Command/Get.hs @@ -18,8 +18,8 @@ def = [withOptions [Command.Move.fromOption] $ command "get" paramPaths seek "make content of annexed files available"] seek :: [CommandSeek] -seek = [withField "from" Remote.byName $ \from -> withNumCopies $ \n -> - whenAnnexed $ start from n] +seek = [withField Command.Move.fromOption Remote.byName $ \from -> + withNumCopies $ \n -> whenAnnexed $ start from n] start :: Maybe Remote -> Maybe Int -> FilePath -> (Key, Backend) -> CommandStart start from numcopies file (key, _) = stopUnless (not <$> inAnnex key) $ |