Thrift-1234: thrift --help is missing doc on py:utf8strings
authorJake Farrell <jfarrell@apache.org>
Mon, 11 Jul 2011 13:47:25 +0000 (13:47 +0000)
committerJake Farrell <jfarrell@apache.org>
Mon, 11 Jul 2011 13:47:25 +0000 (13:47 +0000)
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

compiler/cpp/src/generate/t_py_generator.cc

index 234408c..6a82bd7 100644 (file)
@@ -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"
 )