tests/selfhelp.py
author Alexander Solovyov <alexander@solovyov.net>
Thu, 27 Jan 2011 10:41:47 +0100
changeset 178 88a20499b498
parent 162 e924a731e195
permissions -rw-r--r--
makefile to automate some tasks

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