summaryrefslogtreecommitdiff
path: root/Command/Undo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Undo.hs')
-rw-r--r--Command/Undo.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Undo.hs b/Command/Undo.hs
index 8e6b1c44f..4740aab48 100644
--- a/Command/Undo.hs
+++ b/Command/Undo.hs
@@ -21,10 +21,10 @@ import qualified Git.Command as Git
import qualified Git.Branch
import qualified Command.Sync
-cmd :: [Command]
-cmd = [notBareRepo $
+cmd :: Command
+cmd = notBareRepo $
command "undo" paramPaths seek
- SectionCommon "undo last change to a file or directory"]
+ SectionCommon "undo last change to a file or directory"
seek :: CommandSeek
seek ps = do