code: def add_bool_option(self, *args, **kwargs):
          
          dest = [o for o in args if o.startswith("--")][0].replace("--", "").replace("-", "_")
          self.parser.add_option(dest=dest, action="store_true", default=False,
              help=kwargs['help'], *args)
docs: Add a boolean option.
  
              @keyword help: Option description.