tests/selfhelp.py
author Alexander Solovyov <alexander@solovyov.net>
Tue, 29 Mar 2011 10:34:58 +0200
changeset 188 8ee4c9ad1325
parent 162 e924a731e195
permissions -rw-r--r--
Added tag 2.2 for changeset 5e96ab1087da

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()