diff options
Diffstat (limited to '')
-rw-r--r-- | src/protocol/ArgParser.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol/ArgParser.hxx b/src/protocol/ArgParser.hxx index 87f15846a..b05d7224e 100644 --- a/src/protocol/ArgParser.hxx +++ b/src/protocol/ArgParser.hxx @@ -47,6 +47,10 @@ struct RangeArg { start = 0; end = std::numeric_limits<unsigned>::max(); } + + static constexpr RangeArg All() { + return { 0, std::numeric_limits<unsigned>::max() }; + } }; bool |