Skip to content

Commit

Permalink
add detailed command line help to generate-mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
cygri committed Aug 19, 2011
1 parent e8d851b commit 4858f38
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/d2rq/generate_mapping.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,19 @@ public static void main(String[] args) {
}

private static void usage() {
System.err.println(
"generate-mapping [-u username] [-p password] [-s database schema] [-d driverclass] [-v] [-o outfile.n3] [-b base uri] jdbcURL");
System.err.println("usage: generate-mapping [options] jdbcURL");
System.err.println();
System.err.println(" Arguments:");
System.err.println(" jdbcURL JDBC URL for the DB, e.g. jdbc:mysql://localhost/dbname");
System.err.println();
System.err.println(" Options:");
System.err.println(" -u username Database user for connecting to the DB");
System.err.println(" -p password Database password for connecting to the DB");
System.err.println(" -d driverclass Java class name of the JDBC driver for the DB");
System.err.println(" -s db_schema Only map tables in a specific named DB schema");
System.err.println(" -v Generate RDFS+OWL vocabulary instead of mapping file");
System.err.println(" -b baseURI Base URI for generated RDF (optional)");
System.err.println(" -o outfile.n3 Output file name (default: stdout)");
System.err.println();
}
}

0 comments on commit 4858f38

Please sign in to comment.