simplify
This commit is contained in:
parent
11994ebb3d
commit
59fe0b29a6
3 changed files with 3 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue