Skip to content

Commit

Permalink
Consistency between DB and Db
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Dec 12, 2006
1 parent 5df7fc7 commit 2ed7637
Show file tree
Hide file tree
Showing 6 changed files with 358 additions and 356 deletions.
5 changes: 4 additions & 1 deletion src/net/sourceforge/schemaspy/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ public Config(String[] argv)
}

public static Config getInstance() {
if (instance == null)
instance = new Config();

return instance;
}

Expand Down Expand Up @@ -871,7 +874,7 @@ protected void dumpUsage(String errorMessage, boolean detailedDb) {
Set datatypes = getBuiltInDatabaseTypes(getLoadedFromJar());
for (Iterator iter = datatypes.iterator(); iter.hasNext(); ) {
String dbType = iter.next().toString();
new ConnectionURLBuilder(dbType).dumpUsage();
new DbSpecificConfig(dbType).dumpUsage();
}
System.out.println();
}
Expand Down
Loading

0 comments on commit 2ed7637

Please sign in to comment.