'Remove the given options that are defined in the parent classes.
:param to_remove: The options to rmeove.
:type to_remove: list of str
.. note::
Option names should be given as is,
parameter names should have \'=\' suffix.'

def _remove_options(self, to_remove):

    self.longOpt = [opt for opt in self.longOpt if (opt not in to_remove)]
