From 5a88a1437c9204db68b16088bd1f416d76d8193f Mon Sep 17 00:00:00 2001 From: Vladimir Zhelezov Date: Sat, 12 Dec 2020 13:31:36 +0100 Subject: [PATCH] Improve option extraction Do not consider lines starting with anything other than white space followed by a dash. --- shell-completion/hledger-completion.bash | 37 ------------------------ shell-completion/output-options.sh | 3 +- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/shell-completion/hledger-completion.bash b/shell-completion/hledger-completion.bash index b1bd5e562..8fa684e9a 100644 --- a/shell-completion/hledger-completion.bash +++ b/shell-completion/hledger-completion.bash @@ -431,7 +431,6 @@ read -r -d "" _hledger_complist_generic_options <