summaryrefslogtreecommitdiff
path: root/Command/Unlock.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-19 18:58:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-19 18:58:49 -0400
commit140a351fc535235ae5714122f0c98174cbdb19ce (patch)
treeaad6d0fd91ade0b1eabc7a5d4c1eb22b9d8dbe76 /Command/Unlock.hs
parent54c39d09ba0185cea398876e609e59d3059b18e7 (diff)
avoid version check before running version and upgrade commands
There are two types of commands; those that access the repository and those that don't. Sorted.
Diffstat (limited to 'Command/Unlock.hs')
-rw-r--r--Command/Unlock.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Unlock.hs b/Command/Unlock.hs
index bd1021cc3..ac7b22ac7 100644
--- a/Command/Unlock.hs
+++ b/Command/Unlock.hs
@@ -22,8 +22,8 @@ import CopyFile
command :: [Command]
command =
- [ Command "unlock" paramPath seek "unlock files for modification"
- , Command "edit" paramPath seek "same as unlock"
+ [ repoCommand "unlock" paramPath seek "unlock files for modification"
+ , repoCommand "edit" paramPath seek "same as unlock"
]
seek :: [CommandSeek]