help truncated args when missing \
This commit is contained in:
parent
be0d38e382
commit
c3624ed631
|
|
@ -230,7 +230,7 @@ proc show_cmd_args { cmd } {
|
|||
set arglist $cmd_args($cmd)
|
||||
# Break the arglist up into max_col length lines.
|
||||
while {1} {
|
||||
if {[regexp {(^ *)([a-zA-Z0-9_\\\|\-]+|\[[^\[]+\])(.*)} \
|
||||
if {[regexp {(^[\n ]*)([a-zA-Z0-9_\\\|\-]+|\[[^\[]+\])(.*)} \
|
||||
$arglist ignore space arg rest]} {
|
||||
set arg_length [string length $arg]
|
||||
if { $col + $arg_length < $max_col } {
|
||||
|
|
|
|||
Loading…
Reference in New Issue