summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2015-02-19 00:18:12 -0500
committerTimothy Edmund Crosley <timothy.crosley@gmail.com>2015-02-19 00:18:12 -0500
commitc5694d2f1457fd20d29864650a41be632a57086b (patch)
tree6903ee07be0450f429add474cf075aa4817a453f
parentcf7bf5311eefbd800288db81a930ff9bac9dc650 (diff)
parent40fdbbe51c40135a71450b6f01cd64d4d7a16b24 (diff)
downloadisort-c5694d2f1457fd20d29864650a41be632a57086b.tar.gz
Merge pull request #255 from normanjaeckel/develop
Fixed command line argument '--trailing-comma'
-rwxr-xr-xisort/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isort/main.py b/isort/main.py
index 0f9b89d6..c10405c1 100755
--- a/isort/main.py
+++ b/isort/main.py
@@ -101,7 +101,7 @@ def main():
help="Ensures that if a star import is present, nothing else is imported from that namespace.")
parser.add_argument('-ca', '--combine-as', dest='combine_as_imports', action='store_true',
help="Combines as imports on the same line.")
- parser.add_argument('-tc', '--trailing-comma', dest='trailing_comma', action='store_true',
+ parser.add_argument('-tc', '--trailing-comma', dest='include_trailing_comma', action='store_true',
help='Includes a trailing comma on multi line imports that include parentheses.')
parser.add_argument('-v', '--version', action='version', version='isort {0}'.format(__version__))
parser.add_argument('-vb', '--verbose', action='store_true', dest="verbose",