diff --git a/vlib/cli/help.v b/vlib/cli/help.v index 80050689e5..5fd8d46220 100644 --- a/vlib/cli/help.v +++ b/vlib/cli/help.v @@ -144,7 +144,7 @@ fn pretty_description(s string, indent_len int) string { mut i := chars_per_line - 2 mut j := 0 for ; i < line.len; i += chars_per_line - 2 { - for line.str[i] != ` ` { + for line[i] != ` ` { i-- } // indent was already done the first iteration