Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fd39193
)
Thrift-1234: thrift --help is missing doc on py:utf8strings
author
Jake Farrell
<jfarrell@apache.org>
Mon, 11 Jul 2011 13:47:25 +0000
(13:47 +0000)
committer
Jake 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
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_py_generator.cc
b/compiler/cpp/src/generate/t_py_generator.cc
index
234408c
..
6a82bd7
100644
(file)
--- 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"
)