summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Farrell <jfarrell@apache.org>2011-07-11 13:47:25 +0000
committerJake Farrell <jfarrell@apache.org>2011-07-11 13:47:25 +0000
commit646218507478a0e827d64fea76ef1d7611f9a292 (patch)
tree06632c4dfdba6b28707f36f2f53051cd380e97cc
parentfd39193aa00d2098184b452bd955bd60ae39f86d (diff)
downloadthrift-646218507478a0e827d64fea76ef1d7611f9a292.tar.gz
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
-rw-r--r--compiler/cpp/src/generate/t_py_generator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/cpp/src/generate/t_py_generator.cc b/compiler/cpp/src/generate/t_py_generator.cc
index 234408ccc..6a82bd7e6 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"
)