diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-14 16:01:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-14 16:01:40 -0400 |
commit | 59fe0b29a6f15a61276702e1594b9476e1363fd9 (patch) | |
tree | ac688f24e80e8958730abc9acd7dde63a027b0c6 /Command/Drop.hs | |
parent | 11994ebb3dc50a74dea9601907493950ac3540a4 (diff) |
simplify
Diffstat (limited to 'Command/Drop.hs')
-rw-r--r-- | Command/Drop.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Command/Drop.hs b/Command/Drop.hs index 8afffd3cb..a18729940 100644 --- a/Command/Drop.hs +++ b/Command/Drop.hs @@ -34,10 +34,8 @@ start (file, attr) = isAnnexed file $ \(key, _) -> do if present then do showStart "drop" file - next $ perform key numcopies + next $ perform key $ readMaybe attr else stop - where - numcopies = readMaybe attr :: Maybe Int perform :: Key -> Maybe Int -> CommandPerform perform key numcopies = do |