protocol/RangeArg: add static method Single()
This commit is contained in:
@@ -107,7 +107,7 @@ ParseCommandArgRange(const char *s)
|
||||
|
||||
range.end = (unsigned)value;
|
||||
} else {
|
||||
range.end = (unsigned)value + 1;
|
||||
return RangeArg::Single(range.start);
|
||||
}
|
||||
|
||||
return range;
|
||||
|
Reference in New Issue
Block a user