diff options
| author | chick | 2016-09-23 16:40:08 -0700 |
|---|---|---|
| committer | Donggyu Kim | 2016-09-25 14:39:44 -0700 |
| commit | 1f168585c80d5c96e41353d6275d99b34b967b23 (patch) | |
| tree | 44eee3d8e94cf41e2bd5094cff99ed58441cc7f4 /src/main/scala/firrtl/Driver.scala | |
| parent | 16286528ad957a7d62a9c1b18bd6335a3102ea5b (diff) | |
remove unnecessary blocks
example 1 s"${x}"
example 2 case blah => { ??? }
Diffstat (limited to 'src/main/scala/firrtl/Driver.scala')
| -rw-r--r-- | src/main/scala/firrtl/Driver.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/firrtl/Driver.scala b/src/main/scala/firrtl/Driver.scala index 4022a813..ca25ef7a 100644 --- a/src/main/scala/firrtl/Driver.scala +++ b/src/main/scala/firrtl/Driver.scala @@ -155,7 +155,7 @@ Optional Arguments: case flag :: value :: tail if(customOptions.contains(flag)) => annotations += customOptions(flag)(value) nextOption(map, tail) - case ("-h" | "--help") :: tail => { println(usage); sys.exit(0) } + case ("-h" | "--help") :: tail => println(usage); sys.exit(0) case option :: tail => throw new Exception("Unknown option " + option + usage) } |
