From 62376fce4b7940dd69925670124b13b5cbdcec34 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Wed, 13 Aug 2014 02:19:34 -0400 Subject: Command line utility, better description --- tabletext.py | 7 +++++-- 1 file 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", -- cgit v1.2.3-70-g09d2