That's standard notation, and you'll find that all over the place with most command line utilities, even cross-platform. The [
brackets ]
enclose optional parameters, the brackets itself are not typed in the command line.
So in your case, you want to do this (example):
thrift -gen java:beans,private-members,nocamel,java5,sorted_containers yourfile.thrift
to specify five additional options for the java generator. Some rare options also take values, in that case it would be (made up example, not for real):
thrift -gen java:option1=foo,option2,option3=bar yourfile.thrift
which passes three options, two of which have an value associated.