mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 06:55:08 +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")
|
||||
.forHelp();
|
||||
|
||||
var hostOpt = parser.accepts("host", "Bisq node hostname or IP")
|
||||
var hostOpt = parser.accepts("host", "rpc server hostname or IP")
|
||||
.withRequiredArg()
|
||||
.defaultsTo("localhost");
|
||||
|
||||
var portOpt = parser.accepts("port", "Bisq node rpc port")
|
||||
var portOpt = parser.accepts("port", "rpc server port")
|
||||
.withRequiredArg()
|
||||
.ofType(Integer.class)
|
||||
.defaultsTo(9998);
|
||||
|
||||
var passwordOpt = parser.accepts("password", "Bisq node rpc server password")
|
||||
var passwordOpt = parser.accepts("password", "rpc server password")
|
||||
.withRequiredArg();
|
||||
|
||||
try {
|
||||
|
@ -158,10 +158,10 @@ public class CliMain {
|
|||
stream.println();
|
||||
parser.printHelpOn(stream);
|
||||
stream.println();
|
||||
stream.println("Method Descripiton");
|
||||
stream.println("------- -----------");
|
||||
stream.println("getversion Get Bisq node version");
|
||||
stream.println("getbalance Get Bisq node wallet balance");
|
||||
stream.println("Method Descripiton");
|
||||
stream.println("------- -----------");
|
||||
stream.println("getversion Get server version");
|
||||
stream.println("getbalance Get server wallet balance");
|
||||
stream.println();
|
||||
} catch (IOException ex) {
|
||||
ex.printStackTrace(stream);
|
||||
|
|
Loading…
Add table
Reference in a new issue