summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Edmund Crosley <timothy.crosley@gmail.com>2019-03-10 21:50:42 -0700
committerGitHub <noreply@github.com>2019-03-10 21:50:42 -0700
commit6032bd4aa685dc483b153a2170671b9aadbd9f13 (patch)
treea62da1c0de48316898596ab3be26a37e1ccadba1
parent5fb13577c0ddfc77f70221c65770bc9bc9b5366e (diff)
parent41e0922a540bd61ad14aa04e69d1ec4fa251c3de (diff)
downloadisort-6032bd4aa685dc483b153a2170671b9aadbd9f13.tar.gz
Merge pull request #897 from timothycrosley/feature/better-help-doc
Feature/better help doc
-rw-r--r--isort/main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/isort/main.py b/isort/main.py
index 1bafdf95..24de5c0c 100644
--- a/isort/main.py
+++ b/isort/main.py
@@ -173,7 +173,9 @@ class ISortCommand(setuptools.Command):
def parse_args(argv=None):
parser = argparse.ArgumentParser(description='Sort Python import definitions alphabetically '
- 'within logical sections.')
+ 'within logical sections. Run with no arguments to run '
+ 'interactively. Run with `-` as the first argument to read from '
+ 'stdin. Otherwise provide a list of files to sort.')
inline_args_group = parser.add_mutually_exclusive_group()
parser.add_argument('-a', '--add-import', dest='add_imports', action='append',
help='Adds the specified import line to all files, '