]> git.phdru.name Git - sqlconvert.git/commitdiff
Rename mysql-to-sql.py -> mysql2py
authorOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2016 20:22:58 +0000 (23:22 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 3 Sep 2016 20:23:21 +0000 (23:23 +0300)
docs/index.rst
scripts/mysql2sql [moved from scripts/mysql-to-sql.py with 100% similarity]
setup.py

index 927bddc299dea79f10ab34e84ae9a55956615d18..8b73c1a1e1061394776a39d01c7859b81d506be7 100644 (file)
@@ -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
similarity index 100%
rename from scripts/mysql-to-sql.py
rename to scripts/mysql2sql
index cc3fe7302e0f7240d2125344241139dbf9fd2bb7..b71c2675a4babb72551acce9348b840fc96dd25f 100755 (executable)
--- 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'],
       )