mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Refine help output
This commit is contained in:
parent
c1931d2fb2
commit
42e9bb1433
1 changed files with 7 additions and 7 deletions
|
@ -65,16 +65,16 @@ public class CliMain {
|
||||||
var helpOpt = parser.accepts("help", "Print this help text")
|
var helpOpt = parser.accepts("help", "Print this help text")
|
||||||
.forHelp();
|
.forHelp();
|
||||||
|
|
||||||
var hostOpt = parser.accepts("host", "Bisq node hostname or IP")
|
var hostOpt = parser.accepts("host", "rpc server hostname or IP")
|
||||||
.withRequiredArg()
|
.withRequiredArg()
|
||||||
.defaultsTo("localhost");
|
.defaultsTo("localhost");
|
||||||
|
|
||||||
var portOpt = parser.accepts("port", "Bisq node rpc port")
|
var portOpt = parser.accepts("port", "rpc server port")
|
||||||
.withRequiredArg()
|
.withRequiredArg()
|
||||||
.ofType(Integer.class)
|
.ofType(Integer.class)
|
||||||
.defaultsTo(9998);
|
.defaultsTo(9998);
|
||||||
|
|
||||||
var passwordOpt = parser.accepts("password", "Bisq node rpc server password")
|
var passwordOpt = parser.accepts("password", "rpc server password")
|
||||||
.withRequiredArg();
|
.withRequiredArg();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -160,8 +160,8 @@ public class CliMain {
|
||||||
stream.println();
|
stream.println();
|
||||||
stream.println("Method Descripiton");
|
stream.println("Method Descripiton");
|
||||||
stream.println("------- -----------");
|
stream.println("------- -----------");
|
||||||
stream.println("getversion Get Bisq node version");
|
stream.println("getversion Get server version");
|
||||||
stream.println("getbalance Get Bisq node wallet balance");
|
stream.println("getbalance Get server wallet balance");
|
||||||
stream.println();
|
stream.println();
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
ex.printStackTrace(stream);
|
ex.printStackTrace(stream);
|
||||||
|
|
Loading…
Add table
Reference in a new issue