Permalink
Browse files

--ostrich flag implies --finagle flag

  • Loading branch information...
chunyan committed Mar 30, 2013
1 parent 396192b commit 3243e1d26cf6593b03ce41685e284f92ea881e51
Showing with 6 additions and 1 deletion.
  1. +6 −1 scrooge-generator/src/main/scala/com/twitter/scrooge/Main.scala
@@ -95,7 +95,12 @@ object Main {
compiler.flags += WithFinagleClient
()
})
- opt("ostrich", "generate ostrich server interface", { compiler.flags += WithOstrichServer; () })
+ opt("ostrich", "generate ostrich server interface", {
+ // --ostrich implies --finagle
+ compiler.flags += WithOstrichServer
+ compiler.flags += WithFinagleClient
+ compiler.flags += WithFinagleService
+ () })
arglist("<files...>", "thrift files to compile", { compiler.thriftFiles += _ })
}
parser.parse(args)

0 comments on commit 3243e1d

Please sign in to comment.