const char *typehelp[] = {
"invalid",
"string (opt=bla)",
+ "string (opt=bla)",
"string with possible k/m/g postfix (opt=4k)",
"string with time postfix (opt=10s)",
"string (opt=bla)",
{
const char *p;
+ if (len < 2)
+ return __get_mult_bytes(str, data);
+
/*
* if the last char is 'b' or 'B', the user likely used
* "1gb" instead of just "1g". If the second to last is also