logical/framework: Generate help output even if no synopsis provided

This commit is contained in:
Armon Dadgar
2015-05-07 15:39:43 -07:00
parent f203b80571
commit 68a99a8806
2 changed files with 7 additions and 1 deletions

View File

@@ -110,7 +110,7 @@ func (b *Backend) HandleRequest(req *logical.Request) (*logical.Response, error)
callback, ok = path.Callbacks[req.Operation]
}
if !ok {
if req.Operation == logical.HelpOperation && path.HelpSynopsis != "" {
if req.Operation == logical.HelpOperation {
callback = path.helpCallback
ok = true
}