Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit b31d066

Browse files
committed
fix(plugins/plugin-kubectl): kubectl describe -h has old bold text
Fixes #4568
1 parent adbbac3 commit b31d066

File tree

1 file changed

+1
-1
lines changed
  • plugins/plugin-kubectl/src/lib/util

1 file changed

+1
-1
lines changed

plugins/plugin-kubectl/src/lib/util/help.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const renderHelpUnsafe = (
248248
content: header
249249
.replace(/\n\s*(IMPORTANT:)([^\n]+)/, `\n> **$1**$2`)
250250
.replace(/(\s)(NOT)(\s)/g, '$1**$2**$3')
251-
.replace(/^(.*):$/gm, '##### $1\n')
251+
.replace(/^(.{1-15}):$/gm, '##### $1\n')
252252
.replace(
253253
/(:\n\n\s*)((([^,\n])+,)+[^,\n]+)/g,
254254
(_, m1, m2) =>

0 commit comments

Comments
 (0)