tests/selfhelp.py
author Sergey Astanin <s.astanin@gmail.com>
Thu, 17 Feb 2011 22:25:22 +0100
changeset 181 c3cb22c01987
parent 162 e924a731e195
permissions -rw-r--r--
Adjust indentation level in multiline docstrings

from opster import command

@command()
def selfhelp(assist=('', False, 'show help')):
    '''Displays ability to show help'''
    if assist:
        selfhelp.help()
    else:
        print 'no help for you!'

if __name__ == '__main__':
    selfhelp()