diff options
Diffstat (limited to 'Command/Undo.hs')
-rw-r--r-- | Command/Undo.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Command/Undo.hs b/Command/Undo.hs index 4740aab48..c647dfba4 100644 --- a/Command/Undo.hs +++ b/Command/Undo.hs @@ -23,10 +23,11 @@ import qualified Command.Sync cmd :: Command cmd = notBareRepo $ - command "undo" paramPaths seek - SectionCommon "undo last change to a file or directory" + command "undo" SectionCommon + "undo last change to a file or directory" + paramPaths (withParams seek) -seek :: CommandSeek +seek :: CmdParams -> CommandSeek seek ps = do -- Safety first; avoid any undo that would touch files that are not -- in the index. |