Format the help output of kcptun

This commit is contained in:
Max Lv
2016-08-17 09:09:30 +08:00
parent 45ea903323
commit 69cb86a7c5
2 changed files with 3 additions and 2 deletions
@@ -27,7 +27,8 @@ class KcpCliPreference(context: Context, attrs: AttributeSet) extends SummaryEdi
!line.startsWith(" --path ") &&
!line.startsWith(" --help,") &&
!line.startsWith(" --version,"))
.mkString("\n"))
.mkString("\n")
.replaceAll("[ ]{2,}", "\n"))
.show()
val window = dialog.getWindow
val attrs = window.getAttributes