summaryrefslogtreecommitdiff
path: root/examples/initialization.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-03-16 12:25:34 -0400
committeranselor <anselor@gmail.com>2021-03-18 18:26:20 -0400
commit8f981f37eddcccc919329245b85fd44d5975a6a7 (patch)
tree9a822b245312b3b515b64a69d772fab75fce8121 /examples/initialization.py
parent9d1b7c7f1068ce9b55ba160ebceeadd665d1bc02 (diff)
downloadcmd2-git-8f981f37eddcccc919329245b85fd44d5975a6a7.tar.gz
Resolves comments from PR
Diffstat (limited to 'examples/initialization.py')
-rwxr-xr-xexamples/initialization.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/initialization.py b/examples/initialization.py
index 293d8075..54bef6d8 100755
--- a/examples/initialization.py
+++ b/examples/initialization.py
@@ -51,7 +51,7 @@ class BasicApp(cmd2.Cmd):
# Make echo_fg settable at runtime
self.add_settable(
- cmd2.Settable('foreground_color', str, 'Foreground color to use with echo command', choices=fg.colors())
+ cmd2.Settable('foreground_color', str, 'Foreground color to use with echo command', self, choices=fg.colors())
)
@cmd2.with_category(CUSTOM_CATEGORY)