summaryrefslogtreecommitdiff
path: root/examples/remove_unused.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/remove_unused.py')
-rwxr-xr-xexamples/remove_unused.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/remove_unused.py b/examples/remove_unused.py
index 8a567123..62103022 100755
--- a/examples/remove_unused.py
+++ b/examples/remove_unused.py
@@ -26,5 +26,6 @@ class RemoveUnusedBuiltinCommands(cmd2.Cmd):
if __name__ == '__main__':
+ import sys
app = RemoveUnusedBuiltinCommands()
- app.cmdloop()
+ sys.exit(app.cmdloop())