[Bug 840467] Re: Bash-completion does not respect end of options argument (--)
Mathew Hodson
mathew.hodson at gmail.com
Tue Dec 1 04:43:25 UTC 2015
I tested the commands in the description and comment #4. I get the
options for ls not valgrind, and I don't get the behaviour described in
comment #4.
$ valgrind -- ls -<TAB><TAB>
--all
--almost-all
--author
--block-size=
--classify
--color
--color=
--context
--dereference
--dereference-command-line
--dereference-command-line-symlink-to-dir
--directory
--dired
--escape
--file-type
--format=
--group-directories-first
--help
--hide=
--hide-control-chars
--human-readable
--ignore=
--ignore-backups
--More--
$ valgrind -- nan<TAB>
$ valgrind -- nano
$ apt list valgrind
Listing... Done
valgrind/trusty-proposed,now 1:3.10.1-1ubuntu3~14.04 amd64 [installed]
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/840467
Title:
Bash-completion does not respect end of options argument (--)
Status in valgrind package in Ubuntu:
Fix Released
Status in valgrind source package in Trusty:
Fix Committed
Status in valgrind source package in Vivid:
New
Bug description:
Valgrind does not attempt to parse argument after seeing "--". The
bash completion script does not take that into account when completing
commands after valgrind and `valgrind -- ls -<TAB><TAB>` still tries
to complete valgrinds options.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/840467/+subscriptions
More information about the foundations-bugs
mailing list