forked from I2P_Developers/i2p.i2p
i2ptunnel CLI help tweak
This commit is contained in:
@ -461,7 +461,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
|
||||
" client <port> <pubkey>[,<pubkey,...]|file:<pubkeyfile> [<sharedClient>]\n" +
|
||||
" clientoptions [-acx] [key=value ]*\n" +
|
||||
" close [forced|destroy] <jobnumber>|all\n" +
|
||||
" config [-s] <i2phost> <i2pport>\n" +
|
||||
" config [-s] <I2CPhost> <I2CPport>\n" +
|
||||
" connectclient <port> [<sharedClient>] [<proxy>]\n" +
|
||||
" genkeys <privkeyfile> [<pubkeyfile>]\n" +
|
||||
" gentextkeys\n" +
|
||||
@ -1346,7 +1346,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
|
||||
}
|
||||
if (i < args.length)
|
||||
port = args[i];
|
||||
l.log("New setting: " + host + ' ' + port + (ssl ? " SSL" : " non-SSL"));
|
||||
l.log("New I2CP settings: " + host + ' ' + port + (ssl ? " SSL" : " non-SSL"));
|
||||
notifyEvent("configResult", "ok");
|
||||
} else {
|
||||
boolean ssl = Boolean.parseBoolean(_clientOptions.getProperty("i2cp.SSL"));
|
||||
@ -1354,7 +1354,7 @@ public class I2PTunnel extends EventDispatcherImpl implements Logging {
|
||||
" config [-s] [<i2phost>] [<i2pport>]\n" +
|
||||
" Sets the address and port of the I2P router.\n" +
|
||||
" Use -s for SSL.\n" +
|
||||
"Current setting: " + host + ' ' + port + (ssl ? " SSL" : " non-SSL"));
|
||||
"Current I2CP settings: " + host + ' ' + port + (ssl ? " SSL" : " non-SSL"));
|
||||
notifyEvent("configResult", "error");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user