From 8f981f37eddcccc919329245b85fd44d5975a6a7 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Tue, 16 Mar 2021 12:25:34 -0400 Subject: Resolves comments from PR --- examples/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/example.py') diff --git a/examples/example.py b/examples/example.py index ffa8d3bf..a3d4e90b 100755 --- a/examples/example.py +++ b/examples/example.py @@ -32,7 +32,7 @@ class CmdLineApp(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') -- cgit v1.2.1