Skip to content

Commit b55d77e

Browse files
committed
Add --help help command
1 parent 90f4511 commit b55d77e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/util/sh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export async function getShellDocumentationWithoutCache({
7474
// The default line width of the terminal works fine for hover, but could be better
7575
// for completions.
7676
{ type: 'man', command: `man -P cat ${word} | col -bx` },
77+
{ type: 'help flag', command: `${word} --help | col -bx` },
7778
]
7879

7980
for (const { type, command } of DOCUMENTATION_COMMANDS) {

0 commit comments

Comments
 (0)