Skip to content

Commit

Permalink
Revert help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
skovhus committed May 15, 2024
1 parent 84dccb5 commit 04a2cb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Bash Language Server

## 5.3.3

- Revert "Add --help fallback for documentation" https://github.com/bash-lsp/bash-language-server/pull/1052

## 5.3.2

- Handle non-zero exit status when formatting using shfmt https://github.com/bash-lsp/bash-language-server/pull/1163
Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A language server for Bash",
"author": "Mads Hartmann",
"license": "MIT",
"version": "5.3.2",
"version": "5.3.3",
"main": "./out/server.js",
"typings": "./out/server.d.ts",
"bin": {
Expand Down
1 change: 0 additions & 1 deletion server/src/util/sh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export async function getShellDocumentationWithoutCache({
// The default line width of the terminal works fine for hover, but could be better
// for completions.
{ type: 'man', command: `man -P cat ${word} | col -bx` },
{ type: 'help flag', command: `${word} --help | col -bx` },
]

for (const { type, command } of DOCUMENTATION_COMMANDS) {
Expand Down

0 comments on commit 04a2cb3

Please sign in to comment.