diff options
Diffstat (limited to 'Types/Command.hs')
-rw-r--r-- | Types/Command.hs | 4 |
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 |