aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/mnotificationtool/mnotificationtool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mnotificationtool/mnotificationtool.cpp b/tools/mnotificationtool/mnotificationtool.cpp
index b1f2f4bd..3854d751 100644
--- a/tools/mnotificationtool/mnotificationtool.cpp
+++ b/tools/mnotificationtool/mnotificationtool.cpp
@@ -193,7 +193,7 @@ int parseArguments(int argc, char *argv[])
if (!listMode) {
if (toolAction == Undefined ||
(toolAction == Add && argc < optind + 1) ||
- (toolAction == Update && argc < optind + 4) ||
+ (toolAction == Update && argc < optind + 1) ||
(toolAction == Update && id == 0)) {
return usage(argv[0]);
}