Set demo app up with deferred help

Change-Id: Ia48866e17d5823a2ccc85172c717581316ad05a7
This commit is contained in:
Doug Hellmann 2015-07-16 18:12:48 +00:00
parent df608e7b03
commit 79e05f6bdc
2 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class DemoApp(App):
description='cliff demo app', description='cliff demo app',
version='0.1', version='0.1',
command_manager=CommandManager('cliff.demo'), command_manager=CommandManager('cliff.demo'),
deferred_help=True,
) )
def initialize_app(self, argv): def initialize_app(self, argv):

View File

@ -66,6 +66,10 @@ To see help for an individual command, use the ``help`` command::
(.venv)$ cliffdemo help files (.venv)$ cliffdemo help files
or the ``--help`` option::
(.venv)$ cliffdemo files --help
The Source The Source
========== ==========