Skip to content

Commit d472ff2

Browse files
committed
Fixed small bugs related to configuraiton
1 parent fed482f commit d472ff2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/scala/kr/ac/kaist/safe/Safe.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ object Safe {
2424
def main(tokens: Array[String]): Unit = {
2525
(tokens.toList match {
2626
case str :: args => cmdMap.get(str) match {
27-
case Some(cmd) => cmd(s"-config=$CONFIG_FILE" :: args, false)
27+
case Some(CmdAnalyze) => CmdAnalyze(s"-config=$CONFIG_FILE" :: args, false)
28+
case Some(cmd) => cmd(args, false)
2829
case None => Failure(NoCmdError(str))
2930
}
3031
case Nil => Failure(NoInputError)

0 commit comments

Comments
 (0)