Skip to content

Commit

Permalink
help truncated args when missing \
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcherry56 committed Jul 8, 2021
1 parent be0d38e commit c3624ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcl/Util.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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 } {
Expand Down

0 comments on commit c3624ed

Please sign in to comment.