mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Add missing newlines to console output statements
And remove some unecessary single quotes.
This commit is contained in:
parent
9d863e5a40
commit
baf300afae
1 changed files with 8 additions and 7 deletions
|
@ -348,7 +348,7 @@ public class CliMain {
|
||||||
|
|
||||||
List<OfferInfo> offers = reply.getOffersList();
|
List<OfferInfo> offers = reply.getOffersList();
|
||||||
if (offers.isEmpty())
|
if (offers.isEmpty())
|
||||||
out.printf("no %s %s offers found\n", direction, currencyCode);
|
out.printf("no %s %s offers found%n", direction, currencyCode);
|
||||||
else
|
else
|
||||||
out.println(formatOfferTable(reply.getOffersList(), currencyCode));
|
out.println(formatOfferTable(reply.getOffersList(), currencyCode));
|
||||||
|
|
||||||
|
@ -371,10 +371,11 @@ public class CliMain {
|
||||||
.setTakerFeeCurrencyCode(takerFeeCurrencyCode)
|
.setTakerFeeCurrencyCode(takerFeeCurrencyCode)
|
||||||
.build();
|
.build();
|
||||||
var reply = tradesService.takeOffer(request);
|
var reply = tradesService.takeOffer(request);
|
||||||
out.printf("trade '%s' successfully taken", reply.getTrade().getShortId());
|
out.printf("trade %s successfully taken%n", reply.getTrade().getTradeId());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case gettrade: {
|
case gettrade: {
|
||||||
|
// TODO make short-id a valid argument
|
||||||
if (nonOptionArgs.size() < 2)
|
if (nonOptionArgs.size() < 2)
|
||||||
throw new IllegalArgumentException("incorrect parameter count, "
|
throw new IllegalArgumentException("incorrect parameter count, "
|
||||||
+ " expecting trade id [,showcontract = true|false]");
|
+ " expecting trade id [,showcontract = true|false]");
|
||||||
|
@ -403,7 +404,7 @@ public class CliMain {
|
||||||
.setTradeId(tradeId)
|
.setTradeId(tradeId)
|
||||||
.build();
|
.build();
|
||||||
tradesService.confirmPaymentStarted(request);
|
tradesService.confirmPaymentStarted(request);
|
||||||
out.printf("trade '%s' payment started message sent", tradeId);
|
out.printf("trade %s payment started message sent%n", tradeId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case confirmpaymentreceived: {
|
case confirmpaymentreceived: {
|
||||||
|
@ -415,7 +416,7 @@ public class CliMain {
|
||||||
.setTradeId(tradeId)
|
.setTradeId(tradeId)
|
||||||
.build();
|
.build();
|
||||||
tradesService.confirmPaymentReceived(request);
|
tradesService.confirmPaymentReceived(request);
|
||||||
out.printf("trade '%s' payment received message sent", tradeId);
|
out.printf("trade %s payment received message sent%n", tradeId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case keepfunds: {
|
case keepfunds: {
|
||||||
|
@ -427,7 +428,7 @@ public class CliMain {
|
||||||
.setTradeId(tradeId)
|
.setTradeId(tradeId)
|
||||||
.build();
|
.build();
|
||||||
tradesService.keepFunds(request);
|
tradesService.keepFunds(request);
|
||||||
out.printf("funds from trade '%s' saved in bisq wallet", tradeId);
|
out.printf("funds from trade %s saved in bisq wallet%n", tradeId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case withdrawfunds: {
|
case withdrawfunds: {
|
||||||
|
@ -442,7 +443,7 @@ public class CliMain {
|
||||||
.setAddress(address)
|
.setAddress(address)
|
||||||
.build();
|
.build();
|
||||||
tradesService.withdrawFunds(request);
|
tradesService.withdrawFunds(request);
|
||||||
out.printf("funds from trade '%s' sent to btc address '%s'", tradeId, address);
|
out.printf("funds from trade %s sent to btc address %s%n", tradeId, address);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case getpaymentmethods: {
|
case getpaymentmethods: {
|
||||||
|
@ -464,7 +465,7 @@ public class CliMain {
|
||||||
File jsonFile = saveFileToDisk(paymentMethodId.toLowerCase(),
|
File jsonFile = saveFileToDisk(paymentMethodId.toLowerCase(),
|
||||||
".json",
|
".json",
|
||||||
jsonString);
|
jsonString);
|
||||||
out.printf("Payment account form %s%nsaved to %s%n",
|
out.printf("payment account form %s%nsaved to %s%n",
|
||||||
jsonString, jsonFile.getAbsolutePath());
|
jsonString, jsonFile.getAbsolutePath());
|
||||||
out.println("Edit the file, and use as the argument to a 'createpaymentacct' command.");
|
out.println("Edit the file, and use as the argument to a 'createpaymentacct' command.");
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue