summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Parser.cpp')
-rw-r--r--cpp/src/IcePack/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp
index 877afeb2c80..8403734f1df 100644
--- a/cpp/src/IcePack/Parser.cpp
+++ b/cpp/src/IcePack/Parser.cpp
@@ -822,9 +822,9 @@ IcePack::Parser::addServer(const list<string>& args)
void
IcePack::Parser::updateServer(const list<string>& args)
{
- if(args.size() < 3)
+ if(args.size() < 2)
{
- error("`server add' requires at least three arguments\n(`help' for more info)");
+ error("`server update' requires at least two arguments\n(`help' for more info)");
return;
}