Consolidate code
Some hacking of the synopsis parser to support fourth-level commands like `wp remote option`

Doesn't yet work for fifth-level commands