Skip to content

Commit

Permalink
misc(cli): use scallop way of parsing cmd parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymon Matejczyk committed Aug 11, 2020
1 parent b9312cf commit 3ce46c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/main/scala/filodb.cli/CliMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ object CliMain extends FilodbClusterNode {
}.getOrElse(TimeStepParams(args.start, args.step(), args.end))
}

def main(args: Arguments): Unit = {
def main(rawArgs: Array[String]): Unit = {
val args = new Arguments(args)
try {
val timeout = args.timeoutSeconds().seconds
args.command.toOption match {
Expand Down

0 comments on commit 3ce46c7

Please sign in to comment.