From 04a2cb3476b786e5ec76d17a737fc852633238b9 Mon Sep 17 00:00:00 2001 From: skovhus Date: Wed, 15 May 2024 16:31:54 +0200 Subject: [PATCH] Revert help flag --- server/CHANGELOG.md | 4 ++++ server/package.json | 2 +- server/src/util/sh.ts | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/server/CHANGELOG.md b/server/CHANGELOG.md index 79e788a2..52f62060 100644 --- a/server/CHANGELOG.md +++ b/server/CHANGELOG.md @@ -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 diff --git a/server/package.json b/server/package.json index 589838ff..73df323e 100644 --- a/server/package.json +++ b/server/package.json @@ -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": { diff --git a/server/src/util/sh.ts b/server/src/util/sh.ts index 92373992..4d665635 100644 --- a/server/src/util/sh.ts +++ b/server/src/util/sh.ts @@ -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) {