diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-27 16:31:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-27 16:31:35 -0400 |
commit | 5b74b130a39d8c45e7d24520d838d6c1635582c7 (patch) | |
tree | 3d2816f028e7135a168d64c6342e1a2588260417 /Command/Init.hs | |
parent | 66194684acaf8dc5c72e5a163465b42050cf9212 (diff) |
refactored and generalized pre-command sanity checking
Diffstat (limited to 'Command/Init.hs')
-rw-r--r-- | Command/Init.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Init.hs b/Command/Init.hs index 3dd449329..06bdf4ad5 100644 --- a/Command/Init.hs +++ b/Command/Init.hs @@ -14,8 +14,7 @@ import Logs.UUID import Init command :: [Command] -command = [standaloneCommand "init" paramDesc seek - "initialize git-annex"] +command = [Command "init" paramDesc needsNothing seek "initialize git-annex"] seek :: [CommandSeek] seek = [withWords start] |