Hello Tidy Bot, Alexey Serbin, Yingchun Lai, Yifan Zhang, Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18566
to look at the new patch set (#14).
Change subject: [Doc][Format] Format help document support using Enter Key
......................................................................
[Doc][Format] Format help document support using Enter Key
Kudu uses Function:AppendHardWrapped to format a description
of a command, which will split the string when it's length is
more than 78. But this function don't handle Enter key in the
string, the formatted result is indent.
For example:
Original string:
"Attempts to create on-disk metadata that can be used by master.\n"
"It also can be used by a replicated tserver\n"
Old function output:
Attempts to create on-disk metadata that can be used by master.
It also can be
used by a replicated tserver
New function output:
Attempts to create on-disk metadata that can be used by master.
It also can be used by a replicated tserver
The new Function will split the string using '\n', then split
every line when it's length is more than 78.
Change-Id: I1bd15bd2de292f534e90ac24e925bf605ddf6d7b
---
M src/kudu/tools/tool_action-test.cc
M src/kudu/tools/tool_action.cc
M src/kudu/tools/tool_action.h
M src/kudu/tools/tool_action_master.cc
4 files changed, 142 insertions(+), 63 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/66/18566/14
--
To view, visit http://gerrit.cloudera.org:8080/18566
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1bd15bd2de292f534e90ac24e925bf605ddf6d7b
Gerrit-Change-Number: 18566
Gerrit-PatchSet: 14
Gerrit-Owner: Wang Xixu <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Wang Xixu <[email protected]>
Gerrit-Reviewer: Yifan Zhang <[email protected]>
Gerrit-Reviewer: Yingchun Lai <[email protected]>