summaryrefslogtreecommitdiff
path: root/examples/remove_unused.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-02-27 12:07:11 -0500
committerGitHub <noreply@github.com>2018-02-27 12:07:11 -0500
commit36c698767a3024b593fe143e401562f59d2a139c (patch)
tree835f6e936fa35da2f85ddbc2cd500bfd2fefa38e /examples/remove_unused.py
parent0ee3d6bf3cd20877870d9542d858f8abb1e7f4f1 (diff)
parent5c23a4b66dff02e62f57e416319fc221ebeac291 (diff)
downloadcmd2-git-36c698767a3024b593fe143e401562f59d2a139c.tar.gz
Merge pull request #286 from python-cmd2/unused_and_edit_fixes
Fixed removed_unused.py example and help for edit command
Diffstat (limited to 'examples/remove_unused.py')
-rwxr-xr-xexamples/remove_unused.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/remove_unused.py b/examples/remove_unused.py
index c8c9e15e..2de0e9b6 100755
--- a/examples/remove_unused.py
+++ b/examples/remove_unused.py
@@ -19,10 +19,10 @@ class RemoveUnusedBuiltinCommands(cmd2.Cmd):
cmd2.Cmd.__init__(self)
# To hide commands from displaying in the help menu, add their function name to the exclude_from_help list
- self.exclude_from_help.append('do__relative_load')
+ self.exclude_from_help.append('do_py')
# To remove built-in commands entirely, delete their "do_*" function from the cmd2.Cmd class
- del cmd2.Cmd.do_cmdenvironment
+ del cmd2.Cmd.do_edit
if __name__ == '__main__':