aboutsummaryrefslogtreecommitdiffstats
path: root/tabletext.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-08-13 02:19:34 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2014-08-13 02:19:34 -0400
commit62376fce4b7940dd69925670124b13b5cbdcec34 (patch)
treeaf8fe420ad2a0d7639f8d644bf5a5f272842c04e /tabletext.py
parent259b12368c9285170d4ad67f74c7841f2ff26484 (diff)
downloadtabletext-62376fce4b7940dd69925670124b13b5cbdcec34.tar.gz
Command line utility, better description
Diffstat (limited to 'tabletext.py')
-rw-r--r--tabletext.py7
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",