press tab, an error message displayed

Bug #1718673 reported by TANAKA Kazuyoshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
New
Undecided
Unassigned

Bug Description

Step to repro

1. input console '-o '(need white space),next input <TAB>
ex. ~$ -o <TAB>
2. display error message
"-bash: complete: -o: option requires an argument"

or
~$ strace -e trace=open -o /tmp/log <TAB>

error in
/usr/share/bash-completion/bash_completion
1954: complete -F _minimal "$1" && return 124

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: bash-completion 1:2.1-4.2ubuntu1.1 [modified: usr/share/bash-completion/completions/apt]
ProcVersionSignature: Ubuntu 4.4.0-96.119-generic 4.4.83
Uname: Linux 4.4.0-96-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Thu Sep 21 22:16:58 2017
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ja_JP.UTF-8
 SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: Upgraded to xenial on 2016-08-20 (397 days ago)

Revision history for this message
TANAKA Kazuyoshi (denchu) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.