From 40a7549013ab037149e93a9ba3815fd486ea73bb Mon Sep 17 00:00:00 2001 From: Vladimir Zhelezov Date: Sat, 12 Dec 2020 11:52:48 +0100 Subject: [PATCH] Adjust comment obsoleted by previous commit: 4d2a4b0 --- shell-completion/output-options.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell-completion/output-options.sh b/shell-completion/output-options.sh index 80b47fb21..0239416e6 100755 --- a/shell-completion/output-options.sh +++ b/shell-completion/output-options.sh @@ -15,8 +15,8 @@ main() { # Display all 200 possibilities? (y or n) # sed -rn 's/.* (-[a-zA-Z0-9]).*/\1/gp' < "$tmp" - # Do not print '=' after long options with arg because it makes completion - # for option arguments harder. + # Options requiring an argument make that explicit by appending + # the equal sign (=) sed -rn 's/.* (--[a-zA-Z][-_a-zA-Z0-9]*=?).*/\1/gp' < "$tmp" }