summaryrefslogtreecommitdiff
path: root/Command/Info.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-10-14 14:20:10 -0400
committerJoey Hess <joey@kitenet.net>2014-10-14 14:20:10 -0400
commit59f88558d5249cf9268ab605c40b4c537d49f0f6 (patch)
treecf672a57fb49d4d350da42f5a5171ffbbece4b40 /Command/Info.hs
parentdb9121eceee303937bb31a390846f023fa2ec06c (diff)
doh't use "def" for command definitions, it conflicts with Data.Default.def
Diffstat (limited to 'Command/Info.hs')
-rw-r--r--Command/Info.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Info.hs b/Command/Info.hs
index 5d3c86ce6a..68ac607d9e 100644
--- a/Command/Info.hs
+++ b/Command/Info.hs
@@ -69,8 +69,8 @@ data StatInfo = StatInfo
-- a state monad for running Stats in
type StatState = StateT StatInfo Annex
-def :: [Command]
-def = [noCommit $ dontCheck repoExists $ withOptions [jsonOption] $
+cmd :: [Command]
+cmd = [noCommit $ dontCheck repoExists $ withOptions [jsonOption] $
command "info" paramPaths seek SectionQuery
"shows general information about the annex"]