diff options
author | Eric Lin <anselor@gmail.com> | 2021-03-16 12:25:34 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2021-03-18 14:16:03 -0400 |
commit | 0cd626ebbef273aa78c2d1154ebdd5f9055028cf (patch) | |
tree | 9a822b245312b3b515b64a69d772fab75fce8121 /examples/initialization.py | |
parent | a649286b9468ebadbafeca1abf20a946351ceefe (diff) | |
download | cmd2-git-cmdset_settables.tar.gz |
Resolves comments from PRcmdset_settables
Diffstat (limited to 'examples/initialization.py')
-rwxr-xr-x | examples/initialization.py | 2 |
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) |