summaryrefslogtreecommitdiff
path: root/Types
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-25 12:41:57 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-25 12:41:57 -0400
commitbf0af38ca4e69c83abd95a74379bd8bc672cd0e3 (patch)
tree9fa20f0b4486d4286242f44cf68d7e94bd781aca /Types
parent70912c45d126b06fe52890e26040bbd180f4f3d8 (diff)
make usage less terrifying
Need to make `git annex help command` show the options for that command.
Diffstat (limited to 'Types')
-rw-r--r--Types/Command.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Types/Command.hs b/Types/Command.hs
index 1679dcbca..4b92ca173 100644
--- a/Types/Command.hs
+++ b/Types/Command.hs
@@ -53,9 +53,9 @@ instance Eq CommandCheck where
instance Eq Command where
a == b = cmdname a == cmdname b
-{- Order commands by section and then by name -}
+{- Order commands by name. -}
instance Ord Command where
- compare = comparing (\c -> (cmdsection c, cmdname c))
+ compare = comparing cmdname
{- The same sections are listed in doc/git-annex.mdwn -}
data CommandSection