[RFA 0/8] Various command-related improvements

Tom Tromey
2018-04-19T19:16:03Z

This series started as a few command-related bug fixes, but while
doing this I saw that several refactorings were needed, and so I've
added these in as well.

Regression tested by the buildbot.

Tom