cleaned up param parsing for 'help'