Wang Xixu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18566


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.

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_master.cc
3 files changed, 129 insertions(+), 39 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/66/18566/1
--
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: newchange
Gerrit-Change-Id: I1bd15bd2de292f534e90ac24e925bf605ddf6d7b
Gerrit-Change-Number: 18566
Gerrit-PatchSet: 1
Gerrit-Owner: Wang Xixu <[email protected]>

Reply via email to