From 06c8b16824855cf8fa4a92abc1eb0b8580079124 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 3 Sep 2016 23:22:58 +0300 Subject: [PATCH] Rename mysql-to-sql.py -> mysql2py --- docs/index.rst | 14 +++++++------- scripts/{mysql-to-sql.py => mysql2sql} | 0 setup.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) rename scripts/{mysql-to-sql.py => mysql2sql} (100%) diff --git a/docs/index.rst b/docs/index.rst index 927bddc..8b73c1a 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,12 +20,12 @@ The program is in its initial phase and currently cannot do much. Command line ------------ -mysql-to-sql.py -~~~~~~~~~~~~~~~ +mysql2sql +~~~~~~~~~ Usage:: - mysql-to-sql.py [-e encoding] [-E output_encoding] [infile] [[-o] outfile] + mysql2sql [-e encoding] [-E output_encoding] [infile] [[-o] outfile] Options:: @@ -41,13 +41,13 @@ Options:: Option `-o` is useful when infile is absent (input is redirected), for example:: - mysql-to-sql.py -o outfile.sql < infile.sql - cat infile.sql | mysql-to-sql.py -o outfile.sql + mysql2sql -o outfile.sql < infile.sql + cat infile.sql | mysql2sql -o outfile.sql But of course it simply can be:: - mysql-to-sql.py - outfile.sql < infile.sql - cat infile.sql | mysql-to-sql.py - outfile.sql + mysql2sql - outfile.sql < infile.sql + cat infile.sql | mysql2sql - outfile.sql Indices and tables diff --git a/scripts/mysql-to-sql.py b/scripts/mysql2sql similarity index 100% rename from scripts/mysql-to-sql.py rename to scripts/mysql2sql diff --git a/setup.py b/setup.py index cc3fe73..b71c267 100755 --- a/setup.py +++ b/setup.py @@ -44,6 +44,6 @@ setup(name='mysql2sql', ], packages=['mysql2sql'], package_data={}, - scripts=['scripts/mysql-to-sql.py'], + scripts=['scripts/mysql2sql'], requires=['sqlparse', 'm_lib'], ) -- 2.39.2