1
0
Fork 0
forked from External/ergo

help: Generate index of help topics

This commit is contained in:
Daniel Oaks 2017-04-30 13:53:49 +10:00
parent 2c9b2db9e3
commit 51425b7764
4 changed files with 109 additions and 12 deletions

View file

@ -156,6 +156,9 @@ func NewServer(configFilename string, config *Config, logger *logger.Manager) (*
return nil, fmt.Errorf("Help entry does not exist for command %s", name)
}
}
// generate help indexes
HelpIndex = GenerateHelpIndex(false)
HelpIndexOpers = GenerateHelpIndex(true)
if config.Accounts.AuthenticationEnabled {
SupportedCapabilities[SASL] = true