mirror of
https://github.com/corda/corda.git
synced 2025-05-02 08:43:15 +00:00
Merged master into mike-m1-docs-refresh
This commit is contained in:
commit
15a135f648
@ -189,7 +189,9 @@ sealed class CliParams {
|
|||||||
|
|
||||||
private fun parseDateChange(options: OptionSet): DateChange {
|
private fun parseDateChange(options: OptionSet): DateChange {
|
||||||
return DateChange(
|
return DateChange(
|
||||||
apiAddress = HostAndPort.fromString(options.valueOf(CliParamsSpec.apiAddressArg)),
|
apiAddress = HostAndPort.fromString(options.valueOf(
|
||||||
|
CliParamsSpec.apiAddressArg.defaultsTo("localhost:${defaultApiPort(IRSDemoNode.NodeA)}")
|
||||||
|
)),
|
||||||
dateString = options.valuesOf(CliParamsSpec.nonOptions).let {
|
dateString = options.valuesOf(CliParamsSpec.nonOptions).let {
|
||||||
if (it.size > 0) {
|
if (it.size > 0) {
|
||||||
it[0]
|
it[0]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user