Skip to content

Commit 65f9d8c

Browse files
authored
Update UCPLabeling.java
1 parent 926ce3f commit 65f9d8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/jdbc/BasicSamples/UCPLabeling.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* for ALL 3 of user, password, and URL. This can be done by either updating
3737
* this file directly or supplying the 3 values as command-line options
3838
* and user input. The password is read from console or standard input.
39-
* java UCPLabeling -url <url> -user <user>
39+
* java UCPLabeling -l <url> -u <user>
4040
* If you do not update all the defaults, the program proceeds but
4141
* will hit error when connecting.
4242
*/
@@ -181,10 +181,10 @@ static void showError(String msg, Throwable exc) {
181181

182182
static void getRealUserPasswordUrl(String args[]) throws Exception {
183183
// URL can be modified in file, or taken from command-line
184-
url = getOptionValue(args, "-url", DEFAULT_URL);
184+
url = getOptionValue(args, "-l", DEFAULT_URL);
185185

186186
// DB user can be modified in file, or taken from command-line
187-
user = getOptionValue(args, "-user", DEFAULT_USER);
187+
user = getOptionValue(args, "-u", DEFAULT_USER);
188188

189189
// DB user's password can be modified in file, or explicitly entered
190190
readPassword(" Password for " + user + ": ");

0 commit comments

Comments
 (0)