From: Oleg Broytman Date: Fri, 2 Sep 2016 21:16:02 +0000 (+0300) Subject: Change arguments handling X-Git-Tag: 0.0.1~8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=897abc011d161bbb285e7d7c0cea4c2bf934ece4;hp=897abc011d161bbb285e7d7c0cea4c2bf934ece4;p=sqlconvert.git Change arguments handling Allow `-` to name stdin or stdout. Input file is always the first argument, no need to use option `-i`. Output file can be named with `-o` or as the second argument but not both. Option `-o` is useful when there is no input file (input is redirected, for example: `mysql-to-sql.py -o out.sql < in.sql`). ---