[lldb][swig] Fix autodocs flag parsing
authorJordan Rupprecht <rupprecht@google.com>
Thu, 18 Jul 2019 18:18:51 +0000 (18:18 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Thu, 18 Jul 2019 18:18:51 +0000 (18:18 +0000)
commit301c65a8e072e6346aa4bd38ca5dd54ecb41db3f
tree053d34a82b0ce22ac106f5769eef7812d32e3baf
parentd91998a5ac5e5155419d3ea1e8b4113792626fe3
[lldb][swig] Fix autodocs flag parsing

r366471 added "-features autodoc" without a trailing comment, leading to `Unrecognized option -features autodoc-threads` due to implicit string concatenation. Add a comma to fix that.

Also separate into "-features" and "autodoc", otherwise it gets parsed as a single "-features autodoc" flag which is also not recognized (it must be two separate CLI args).

llvm-svn: 366478
lldb/scripts/Python/prepare_binding_Python.py