make usage less terrifying
Need to make `git annex help command` show the options for that command.
This commit is contained in:
parent
3babb935d3
commit
0d72519ae0
4 changed files with 22 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue