modifyDiscovery
static int modifyDiscovery(cmdOptions_t *, int *);
ret = modifyDiscovery(options, funcRet);