X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=docs%2Findex.rst;h=927bddc299dea79f10ab34e84ae9a55956615d18;hb=6599c2a251c495b5e4adb846d937ba55c7a2d547;hp=356f1d124872edffef16db48578a1a497ff03764;hpb=897abc011d161bbb285e7d7c0cea4c2bf934ece4;p=sqlconvert.git diff --git a/docs/index.rst b/docs/index.rst index 356f1d1..927bddc 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -25,10 +25,16 @@ mysql-to-sql.py Usage:: - mysql-to-sql.py [infile] [[-o] outfile] + mysql-to-sql.py [-e encoding] [-E output_encoding] [infile] [[-o] outfile] Options:: + -e ENCODING, --encoding ENCODING + input/output encoding, default is utf-8 + -E OUTPUT_ENCODING, --output-encoding OUTPUT_ENCODING + separate output encoding, default is the same as + `-e` except for console; for console output charset + from the current locale is used infile Input file, stdin if absent or '-' -o, --outfile outfile Output file, stdout if absent or '-' @@ -38,7 +44,7 @@ example:: mysql-to-sql.py -o outfile.sql < infile.sql cat infile.sql | mysql-to-sql.py -o outfile.sql -But of course it simple can be:: +But of course it simply can be:: mysql-to-sql.py - outfile.sql < infile.sql cat infile.sql | mysql-to-sql.py - outfile.sql