diff options
Diffstat (limited to 'Command/Repair.hs')
-rw-r--r-- | Command/Repair.hs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Command/Repair.hs b/Command/Repair.hs index d41a074c0..f4c92b02f 100644 --- a/Command/Repair.hs +++ b/Command/Repair.hs @@ -16,11 +16,13 @@ import qualified Git.Ref import Git.Types import Annex.Version -cmd :: [Command] -cmd = [noCommit $ dontCheck repoExists $ - command "repair" paramNothing seek SectionMaintenance "recover broken git repository"] +cmd :: Command +cmd = noCommit $ dontCheck repoExists $ + command "repair" SectionMaintenance + "recover broken git repository" + paramNothing (withParams seek) -seek :: CommandSeek +seek :: CmdParams -> CommandSeek seek = withNothing start start :: CommandStart |