diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-13 02:19:34 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-08-13 02:19:34 -0400 |
| commit | 62376fce4b7940dd69925670124b13b5cbdcec34 (patch) | |
| tree | af8fe420ad2a0d7639f8d644bf5a5f272842c04e | |
| parent | 259b12368c9285170d4ad67f74c7841f2ff26484 (diff) | |
| download | tabletext-62376fce4b7940dd69925670124b13b5cbdcec34.tar.gz | |
Command line utility, better description
| -rw-r--r-- | tabletext.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tabletext.py b/tabletext.py index b6fa842..0e7ec09 100644 --- a/tabletext.py +++ b/tabletext.py @@ -83,8 +83,11 @@ def print_table(table, formats=None, padding=(1, 1), corners="┌┬┐├┼┤ def main(): parser = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter, - description="Render tab separated data as \ - a table.") + description="Format the input into a table\ + with borders, writing the result to standard\ + output.\ + Each TAB separated line from FILE or standard\ + input will become one row of the output table.") parser.add_argument("--hor", help="horizontal line character", metavar="CHAR", default="─") parser.add_argument("--ver", help="vertical line character", |
