diff --git a/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/cli.scala b/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/cli.scala index 01b33313b..0b72da8d7 100644 --- a/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/cli.scala +++ b/Modules/Examples/Protocol Benchmarks/src/main/scala/probench/cli.scala @@ -67,12 +67,13 @@ object cli { } + val cluster = named[List[(String, Int)]]("--cluster", "") + val initialClusterIds = named[List[Uid]]("--initial-cluster-ids", "") + val clientNode = named[(String, Int)]("--node", "") + val name = named[Uid]("--name", "", Uid.gen()) + val endpoints = named[List[String]]("--endpoints", "") + val argparse = composedParser { - inline def cluster = named[List[(String, Int)]]("--cluster", "") - inline def initialClusterIds = named[List[Uid]]("--initial-cluster-ids", "") - inline def clientNode = named[(String, Int)]("--node", "") - inline def name = named[Uid]("--name", "", Uid.gen()) - inline def endpoints = named[List[String]]("--endpoints", "") alternatives( subcommand("node", "starts a cluster node") {