提交 6cebed58 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting

上级 c2b5eebf
......@@ -165,20 +165,20 @@ public class Shell extends Tool implements Runnable {
}
/**
* Run the shell tool with the given connection and command line settings.<br>
* Run the shell tool with the given connection and command line settings.
* The connection will be closed when the shell exits.
* This is primary used to integrate the Shell into another application.
* <p>
* <i>Note:</i> using the "-url" option in {@code args} doesn't make much sense
* Note: using the "-url" option in {@code args} doesn't make much sense
* since it will override the {@code conn} parameter.
*
* @param conn the connection
* @param args the command line settings
*/
public void runTool(Connection conn, String... args) throws SQLException {
this.conn = conn;
this.stat = conn.createStatement();
runTool(args);
this.conn = conn;
this.stat = conn.createStatement();
runTool(args);
}
private void showHelp() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论