7LOST_CLI_OPTION(
"max-stars" ,
int , maxStars , 10000 , atoi(optarg) , kNoDefaultArgument)
12LOST_CLI_OPTION("kvector-distance-bins" ,
long , kvectorNumDistanceBins , 10000 , atol(optarg) , kNoDefaultArgument)
13LOST_CLI_OPTION("swap-integer-endianness",
bool , swapIntegerEndianness , false , atobool(optarg), true)
15LOST_CLI_OPTION("output" , std::
string, outputPath , "-" , optarg , kNoDefaultArgument)
#define STR_TO_DECIMAL(x)
#define LOST_CLI_OPTION(name, type, prop, defaultVal, converter, defaultArg)
bool atobool(const char *cstr)
Convert string to boolean.