From 41e0922a540bd61ad14aa04e69d1ec4fa251c3de Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Sun, 10 Mar 2019 21:20:31 -0700 Subject: Improve help documentation --- isort/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, ' -- cgit v1.2.1