summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:29:27 +0200
committerMartin Michlmayr <tbm@cyrius.com>2023-04-11 10:33:31 +0800
commit7255d71e2779b5427fc6610070d7a78bacbe32e1 (patch)
treecccc056493a4c154afc56d616219346546426367 /src
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-7255d71e2779b5427fc6610070d7a78bacbe32e1.tar.gz
fork-ledger-7255d71e2779b5427fc6610070d7a78bacbe32e1.tar.bz2
fork-ledger-7255d71e2779b5427fc6610070d7a78bacbe32e1.zip
Fix typo
Diffstat (limited to 'src')
-rw-r--r--src/option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h
index 1d97b934..65aa653e 100644
--- a/src/option.h
+++ b/src/option.h
@@ -170,7 +170,7 @@ public:
if (args.size() < 2)
throw_(std::runtime_error, _f("No argument provided for %1%") % desc());
else if (args.size() > 2)
- throw_(std::runtime_error, _f("To many arguments provided for %1%") % desc());
+ throw_(std::runtime_error, _f("Too many arguments provided for %1%") % desc());
else if (! args[0].is_string())
throw_(std::runtime_error, _f("Context argument for %1% not a string") % desc());
on(args.get<string>(0), args.get<string>(1));