diff options
Diffstat (limited to 'examples/first_app.py')
-rwxr-xr-x | examples/first_app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/first_app.py b/examples/first_app.py index 0b088491..b6335e25 100755 --- a/examples/first_app.py +++ b/examples/first_app.py @@ -27,7 +27,7 @@ class FirstApp(cmd2.Cmd): # Make maxrepeats settable at runtime self.maxrepeats = 3 - self.add_settable(cmd2.Settable('maxrepeats', int, 'max repetitions for speak command')) + self.add_settable(cmd2.Settable('maxrepeats', int, 'max repetitions for speak command', self)) speak_parser = argparse.ArgumentParser() speak_parser.add_argument('-p', '--piglatin', action='store_true', help='atinLay') |