prevent invalid options being displayed in help output