Skip to content

Commit

Permalink
MID-9240 added back "-j" option removed by mistake (custom jdbc drive…
Browse files Browse the repository at this point in the history
…r support)
  • Loading branch information
1azyman committed Oct 23, 2023
1 parent a1cd173 commit 3eeec93
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public class ConnectionOptions {
public static final String P_JDBC = "-j";
public static final String P_JDBC_LONG = "--jdbc";

/**
* This option is not directly used by ninja code, however command parser needs it to be defined.
* Otherwise, command parser will throw an exception because of unknown parameter.
*/
@Parameter(names = { P_JDBC, P_JDBC_LONG }, descriptionKey = "connection.jdbc", hidden = true)
private File jdbc;

Expand Down

0 comments on commit 3eeec93

Please sign in to comment.