aboutsummaryrefslogtreecommitdiffstats
path: root/tabletext.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2014-08-12 23:58:58 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2014-08-12 23:58:58 -0400
commit55bd259ff4c29cb67656261059e8104814f5fc4d (patch)
treeb08a945a5147df08b1d92a676816cab83a7ca003 /tabletext.py
parent3997fca46bed4c7c6845c4afc70d5e2abf4ead6b (diff)
downloadtabletext-55bd259ff4c29cb67656261059e8104814f5fc4d.tar.gz
Propagate previous fix to command line parsing
Diffstat (limited to 'tabletext.py')
-rw-r--r--tabletext.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tabletext.py b/tabletext.py
index 34b1b2f..dc9053a 100644
--- a/tabletext.py
+++ b/tabletext.py
@@ -93,7 +93,8 @@ def main():
lenghts", nargs=2, type=int, metavar="<n>",
default=[1, 1])
parser.add_argument("--format", help="format string for the table entries",
- default="", dest="formats", metavar="FORMAT")
+ default="", dest="formats", metavar="FORMAT",
+ type=unicode)
parser.add_argument("--header", help="format first row as header",
action="store_true")
parser.add_argument("--hhor", help="horizontal line character \