code: def export_cmd_options(self, options_override=None, standalone=False):
          
          cmd_options = super(MongodServer, self).export_cmd_options(
              options_override=options_override)
  
          # reset some props to exporting vals
          cmd_options['dbpath'] = self.get_db_path()
  
          if 'repairpath' in cmd_options:
              cmd_options['repairpath'] = resolve_path(cmd_options['repairpath'])
  
          # Add ReplicaSet args if a cluster is configured
  
          repl_cluster = self.get_replicaset_cluster()
          if repl_cluster is not None:
              if "replSet" not in cmd_options:
                  cmd_options["replSet"] = repl_cluster.id
  
          # apply standalone if specified
          if standalone:
              if "replSet" in cmd_options:
                  del cmd_options["replSet"]
              if "keyFile" in cmd_options:
                  del cmd_options["keyFile"]
  
          # add configsvr as needed
          if self.is_config_server():
              cmd_options["configsvr"] = True
  
          # add shardsvr as needed
          if self.is_shard_server():
              cmd_options["shardsvr"] = True
  
          # remove wiredTigerCacheSizeGB if its not an int since we set it in runtime parameter
          #  wiredTigerEngineRuntimeConfig in this case
          if "wiredTigerCacheSizeGB" in cmd_options and not isinstance(self.get_cmd_option("wiredTigerCacheSizeGB"), int):
              del cmd_options["wiredTigerCacheSizeGB"]
  
          return cmd_options
docs: Override!
          :return: