Review request for OpenLMI Developers.
By Peter Hatina.
Updated Sept. 19, 2013, 1:17 p.m.
Repository:
openlmi-tools
Description
This patch introduces simple help() function, which can either display man page for lmishell (if installed), or pydoc help for an object.
See following example:
> help
Type help() to see man page for lmishell, or help(object) for help about object.
> help()
... man page ...
or
Man page for lmishell can not be found, refer to Wiki page instead.
Available at: https://fedorahosted.org/openlmi/wiki/shell
> help(some_function)
... pydoc help ...
|
Diffs
- cli/lmi/shell/LMIConsole.py (31cecd6aaf7d2f49f6ce27122b464278a5dfc139)
- cli/lmi/shell/LMIHelper.py (PRE-CREATION)
- cli/lmi/shell/LMIUtil.py (990ac8d1b5fac27cb21ad5f8796b68f08cf89432)
View Diff
|