Bug ID 1049825
Summary zypper bash completion expands non-existing options
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Minor
Priority P5 - None
Component libzypp
Assignee zypp-maintainers@forge.provo.novell.com
Reporter astieger@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

There seems to be a bug in the script that extracts available options in
zypper. It expands to "*" and "If"

$ zypper search [TAB][TAB]
*                      --file-list            --name                 --repo    
            --suggests
--case-sensitive       --installed-only       --not-installed-only   --requires
            --type
--conflicts            --match-exact          --obsoletes           
--search-descriptions  If
--details              --match-substrings     --provides            
--sort-by-name         
--details,             --match-words          --recommends          
--sort-by-repo 

This is actually from last two lines of the zypper help output:

# zypper help search
> -v, --verbose              Like --details, with additional information where the
>                            search has matched (useful for search in dependencies).
> 
> * and ? wildcards can also be used within search strings.
> If a search string is enclosed in '/', it's interpreted as a regular expression.


You are receiving this mail because: