From b657b45dcca6687da43639c49e65ce4b16303d3d Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Fri, 2 Mar 2018 20:51:01 -0500 Subject: Removed support for case-insensitive command parsing --- examples/case_sensitive.py | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 examples/case_sensitive.py (limited to 'examples/case_sensitive.py') diff --git a/examples/case_sensitive.py b/examples/case_sensitive.py deleted file mode 100755 index 828ebc06..00000000 --- a/examples/case_sensitive.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python -# coding=utf-8 -"""A sample application demonstrating when commands are set to be case sensitive. - -By default cmd2 parses commands in a case-insensitive manner. But this behavior can be changed. -""" - -import cmd2 - - -class CaseSensitiveApp(cmd2.Cmd): - """ Example cmd2 application where commands are case-sensitive.""" - - def __init__(self): - # Set this before calling the super class __init__() - self.case_insensitive = False - - cmd2.Cmd.__init__(self) - - self.debug = True - - -if __name__ == '__main__': - app = CaseSensitiveApp() - app.cmdloop() -- cgit v1.2.1