This is an archive of the discontinued LLVM Phabricator instance.

[Bash-autocompletion] Fix a bug that -foo=bar doesn't handled properly
ClosedPublic

Authored by yamaguchi on Jul 1 2017, 12:05 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

yamaguchi created this revision.Jul 1 2017, 12:05 PM
ruiu added inline comments.Jul 2 2017, 12:27 AM
clang/utils/bash-autocomplete.sh
37 ↗(On Diff #105000)

I think you can do "$cur" == -*=.

yamaguchi updated this revision to Diff 105208.Jul 4 2017, 7:16 PM

Update diff.
Thanks for the pointing out.

This revision is now accepted and ready to land.Jul 5 2017, 2:01 PM
This revision was automatically updated to reflect the committed changes.