added support for single option parameter