add section metadata to all commands

Not yet used .. mindless train work.
This commit is contained in:
Joey Hess 2013-03-24 18:28:21 -04:00
parent 2ea720abc9
commit cfd3b16fe1
59 changed files with 86 additions and 59 deletions

View file

@ -20,7 +20,8 @@ import System.Posix.Directory
def :: [Command]
def = [noRepo checkAutoStart $ dontCheck repoExists $
withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption, autoStartOption] $
command "assistant" paramNothing seek "automatically handle changes"]
command "assistant" paramNothing seek SectionCommon
"automatically handle changes"]
autoStartOption :: Option
autoStartOption = Option.flag [] "autostart" "start in known repositories"