make usage less terrifying

Need to make `git annex help command` show the options for that command.
This commit is contained in:
Joey Hess 2013-03-25 12:41:57 -04:00
parent 3babb935d3
commit 0d72519ae0
4 changed files with 22 additions and 34 deletions

View file

@ -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