Red Hat Bugzilla – Bug 1018980
Bash completion for man is too aggressive
Last modified: 2013-10-14 17:31:23 EDT
Description of problem:
When developing a man page, man -l something.1 cannot be completed.
Version-Release number of selected component (if applicable):
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>
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?
Oh, never mind, I see what happened. I typed "man -m doc/manpages/<TAB>".
But the -m option was erroneous. I meant -l.