Skip to content

Commit

Permalink
Made placement of -cp option clearer in error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Feb 3, 2006
1 parent 2a7f975 commit fdd116d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/net/sourceforge/schemaspy/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ private static Connection getConnection(String user, String password, String con
System.err.println();
System.err.println("For many people it's easiest to use the -cp option to directly specify");
System.err.println("where the database drivers exist (usually in a .jar or .zip/.Z).");
System.err.println("The -cp option must be specified after " + getLoadedFromJar());
System.err.println();
exc.printStackTrace();
System.exit(1);
Expand Down Expand Up @@ -571,6 +572,7 @@ private static void dumpUsage(String errorMessage, boolean detailed, boolean det
System.out.println(" -css styleSheet.css defaults to schemaSpy.css");
System.out.println(" -cp pathToDrivers optional - looks for drivers here before looking");
System.out.println(" in driverPath in [databaseType].properties");
System.out.println(" must be specified after " + getLoadedFromJar());
System.out.println(" -dbthreads max concurrent threads when accessing metadata");
System.out.println(" defaults to -1 (no limit)");
System.out.println(" use 1 if you get 'already closed' type errors");
Expand Down

0 comments on commit fdd116d

Please sign in to comment.