forked from pool/bash-completion
Accepting request 991301 from home:ohollmann:branches:shells
- Add patch fix-curl-help-completion-bsc1200791.patch (bsc#1200791) * List all options for `curl --<TAB>` OBS-URL: https://build.opensuse.org/request/show/991301 OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=128
This commit is contained in:
parent
1b814b2727
commit
5c2f4ba192
@ -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>
|
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
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -70,6 +70,8 @@ Patch12: bash-completion-fix-missing-directory-completion-with-filename-p
|
|||||||
Patch13: boo1190929-9af4afd0.patch
|
Patch13: boo1190929-9af4afd0.patch
|
||||||
# PATCH-FIX-SUSE boo#1199724
|
# PATCH-FIX-SUSE boo#1199724
|
||||||
Patch14: bsc1199724-modules.patch
|
Patch14: bsc1199724-modules.patch
|
||||||
|
# PATCH-FIX-UPSTREAM bsc#1200791
|
||||||
|
Patch15: fix-curl-help-completion-bsc1200791.patch
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildArch: noarch
|
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