make help() support an io parameter
move catchall to end
Merge pull request #6257 from one-more-minute/help-io

Extend help() to support an io parameter