saltstack/salt — pull request #10844 by garethgreenaway (2014-02-27 23:07:22+00:00)
Title: Adding help function to all modules

Adding help function to all modules, to allow the ability to see available commands and usage using salt and salt-run. Example, salt '*' ip.help or salt '*' ip.help up. The help function does a call to the sys.doc salt function using the __name__ variable to get the module or the __virtualname__ if its available.