saltstack/salt — pull request #13126 by garethgreenaway (2014-05-30 01:15:40+00:00)
Title: Adding the ability to get the __doc__ strings from states

Adding the ability to get the __doc__ strings from states. No argument and all docs are printing, specifying a state shows only the docs for the functions in that state. Specifying the state.function shows only the docs for that state function.