Public bug reported:

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)

** Affects: bash-completion (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718673

Title:
  press tab, an error message displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1718673/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to