repair issues with automatic option documentation generation