Bug 1018980

Summary: Bash completion for man is too aggressive
Product: [Fedora] Fedora Reporter: Pete Zaitcev <zaitcev>
Component: bash-completionAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ooprala, rrakus, sheltren, ville.skytta, zaitcev
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-14 21:31:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete Zaitcev 2013-10-14 20:26:48 UTC
Description of problem:

When developing a man page, man -l something.1 cannot be completed.

Version-Release number of selected component (if applicable):

bash-completion-2.1-2.fc19.noarch

How reproducible:

100%

Steps to Reproduce:
1. git clone git://github.com/openstack/python-swiftclient.git python-swiftclient
2. cd python-swiftclient
3. man -l doc/mangages/<TAB>

Actual results:

No completion

Expected results:

Completion

Additional info:

Comment 1 Ville Skyttä 2013-10-14 21:06:14 UTC
Works fine for me.

Do "set -x" in a shell, invoke the completion that doesn't work as you expected, and attach the output here after reviewing that it doesn't contain anything you don't want to attach here.

Also, what does "complete -p man" output before and after invoking the man completion?

Comment 2 Pete Zaitcev 2013-10-14 21:31:23 UTC
Oh, never mind, I see what happened. I typed "man -m doc/manpages/<TAB>".
But the -m option was erroneous. I meant -l.