]> git.phdru.name Git - sqlconvert.git/commitdiff
Change arguments handling
authorOleg Broytman <phd@phdru.name>
Fri, 2 Sep 2016 21:16:02 +0000 (00:16 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 2 Sep 2016 21:32:54 +0000 (00:32 +0300)
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`).


No differences found