summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/option_types.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_types.hh b/src/option_types.hh
index 01d7ea3b..0433d4d9 100644
--- a/src/option_types.hh
+++ b/src/option_types.hh
@@ -197,7 +197,7 @@ void option_from_string(StringView str, std::tuple<Types...>& opt)
if (elems.size() != sizeof...(Types))
throw runtime_error(elems.size() < sizeof...(Types) ?
"not enough elements in tuple"
- : "to many elements in tuple");
+ : "too many elements in tuple");
TupleOptionDetail<sizeof...(Types)-1, Types...>::from_string(elems, opt);
}