fixes #7284 - display optional for options that are not required