Commit 69cb86a7 authored by Max Lv's avatar Max Lv

Format the help output of kcptun

parent 45ea9033
Subproject commit e8349a306372700f5e5ccbda1592ced01760088c Subproject commit ca9807a2f30e3c6c0d7eb25ee865fb46fb6aef89
...@@ -27,7 +27,8 @@ class KcpCliPreference(context: Context, attrs: AttributeSet) extends SummaryEdi ...@@ -27,7 +27,8 @@ class KcpCliPreference(context: Context, attrs: AttributeSet) extends SummaryEdi
!line.startsWith(" --path ") && !line.startsWith(" --path ") &&
!line.startsWith(" --help,") && !line.startsWith(" --help,") &&
!line.startsWith(" --version,")) !line.startsWith(" --version,"))
.mkString("\n")) .mkString("\n")
.replaceAll("[ ]{2,}", "\n"))
.show() .show()
val window = dialog.getWindow val window = dialog.getWindow
val attrs = window.getAttributes val attrs = window.getAttributes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment