mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +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 {
|
||||
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 {
|
||||
if (it.size > 0) {
|
||||
it[0]
|
||||
|
Loading…
Reference in New Issue
Block a user