google / cro3

Abstraction Layer of ChromiumOS development
https://google.github.io/cro3/
BSD 3-Clause "New" or "Revised" License
36 stars 12 forks source link

cro3 completion is broken if there is short and long options #252

Closed mhiramat closed 3 months ago

mhiramat commented 3 months ago

For example, -v and --verbosity are actually shown as

  -v, --verbosity   set the verbosity level for the entire program, can also be
                    controlled with CRO3_LOG env var as described in the rust
                    tracing crate docs

In this case, cro3 bash completion only takes the first -v, and ignore --verbosity.