From: Jake Farrell Date: Mon, 11 Jul 2011 13:47:25 +0000 (+0000) Subject: Thrift-1234: thrift --help is missing doc on py:utf8strings X-Git-Tag: 0.7.0~35 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=646218507478a0e827d64fea76ef1d7611f9a292;p=common%2Fthrift.git Thrift-1234: thrift --help is missing doc on py:utf8strings Client:python Patch: Eric Rannaud Updated displayed options for python help to print py:utf8strings availability. git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1145175 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc index 234408cc..6a82bd7e 100644 --- a/compiler/cpp/src/generate/t_py_generator.cc +++ b/compiler/cpp/src/generate/t_py_generator.cc @@ -2387,6 +2387,7 @@ string t_py_generator::type_to_spec_args(t_type* ttype) { THRIFT_REGISTER_GENERATOR(py, "Python", " new_style: Generate new-style classes.\n" \ -" twisted: Generate Twisted-friendly RPC services.\n" +" twisted: Generate Twisted-friendly RPC services.\n" \ +" utf8strings: Encode/decode strings using utf8 in the generated code.\n" )