tests/selfhelp.py
author Alexander Solovyov <alexander@solovyov.net>
Sun, 13 Mar 2011 12:44:42 +0100
changeset 184 62d09817faba
parent 162 e924a731e195
permissions -rw-r--r--
use newer version of cleanery

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