forked from pool/bash-completion
Accepting request 993929 from shells
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/993929 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=55
This commit is contained in:
commit
d4ace37494
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 26 19:26:11 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
|
||||
|
||||
- Add patch fix-curl-help-completion-bsc1200791.patch (bsc#1200791)
|
||||
* List all options for `curl --<TAB>`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 10:37:27 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package bash
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
@ -70,6 +70,8 @@ Patch12: bash-completion-fix-missing-directory-completion-with-filename-p
|
||||
Patch13: boo1190929-9af4afd0.patch
|
||||
# PATCH-FIX-SUSE boo#1199724
|
||||
Patch14: bsc1199724-modules.patch
|
||||
# PATCH-FIX-UPSTREAM bsc#1200791
|
||||
Patch15: fix-curl-help-completion-bsc1200791.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildArch: noarch
|
||||
|
17
fix-curl-help-completion-bsc1200791.patch
Normal file
17
fix-curl-help-completion-bsc1200791.patch
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
completions/curl | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/completions/curl
|
||||
+++ b/completions/curl
|
||||
@@ -91,7 +91,9 @@ _curl()
|
||||
esac
|
||||
|
||||
if [[ $cur == -* ]]; then
|
||||
- COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
|
||||
+ COMPREPLY=($(compgen -W '$(_parse_help "$1" "--help all")' -- "$cur"))
|
||||
+ [[ $COMPREPLY ]] ||
|
||||
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
|
||||
fi
|
||||
} &&
|
||||
complete -F _curl curl
|
Loading…
x
Reference in New Issue
Block a user