diff options
author | Timothy Edmund Crosley <timothy.crosley@gmail.com> | 2019-03-10 21:50:42 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-03-10 22:56:59 -0700 |
commit | 283c5501de70a2082a533a73c07c45cf84bd9e17 (patch) | |
tree | e1700fa022fb78a9b8c647391dd60103f38fbb77 | |
parent | cd409d19bae358168e5f93037d02f983d0b0cf19 (diff) | |
download | isort-283c5501de70a2082a533a73c07c45cf84bd9e17.tar.gz |
Merge pull request #897 from timothycrosley/feature/better-help-doc
Feature/better help doc
-rw-r--r-- | isort/main.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/isort/main.py b/isort/main.py index 3cc00c30..300a2311 100644 --- a/isort/main.py +++ b/isort/main.py @@ -172,7 +172,9 @@ class ISortCommand(setuptools.Command): def parse_args(argv: Optional[Sequence[str]] = None) -> Dict[str, Any]: 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, ' |