summaryrefslogtreecommitdiff
path: root/isort/main.py
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2019-03-08 00:30:13 -0800
committerGitHub <noreply@github.com>2019-03-08 00:30:13 -0800
commit4f2ed4c32d4beecb0af0bbf5ce3cd65dff075275 (patch)
tree2ffb17fa77eb4fd50f1232b6297edc0b018cc274 /isort/main.py
parent476ebe46f761a1b75096d895ce24170439f46680 (diff)
parentfa3421e5f4ff8ede0578708fb89af40bd24e265c (diff)
downloadisort-4f2ed4c32d4beecb0af0bbf5ce3cd65dff075275.tar.gz
Merge pull request #892 from timothycrosley/feature/fix-issue-890
Fix issue #890
Diffstat (limited to 'isort/main.py')
-rw-r--r--isort/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/isort/main.py b/isort/main.py
index 299562ed..5da3fb3a 100644
--- a/isort/main.py
+++ b/isort/main.py
@@ -292,6 +292,8 @@ def parse_args(argv=None):
parser.add_argument('--unsafe', dest='unsafe', action='store_true',
help='Tells isort to look for files in standard library directories, etc. '
'where it may not be safe to operate in')
+ parser.add_argument('--case-sensitive', dest='case_sensitive', action='store_true',
+ help='Tells isort to include casing when sorting module names')
parser.add_argument('files', nargs='*', help='One or more Python source files that need their imports sorted.')
arguments = {key: value for key, value in vars(parser.parse_args(argv)).items() if value}