Commits

Paul Gallagher committed f7c05f1

change default yml config filename to mysql2psql.yml

Comments (0)

Files changed (2)

lib/mysql2psql.rb

   
   def initialize(args)
     help if args.length==1 && args[0] =~ /-.?|-*he?l?p?/i 
-    configfile = args[0] || File.expand_path('config.yml')
+    configfile = args[0] || File.expand_path('mysql2psql.yml')
     @options = Config.new( configfile, true )
   end
   

lib/mysql2psql/config.rb

         if File.exists?(configfilepath) 
           raise Mysql2psql::ConfigurationFileInitialized.new("\n
 No configuration file found.
-A new file has been initialized at: #{filepath}
+A new file has been initialized at: #{configfilepath}
 Please review the configuration and retry..\n\n\n")
         else
           raise Mysql2psql::ConfigurationFileNotFound.new("cannot load config file #{configfilepath}")
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.