diff options
author | Aki Koskinen <aki.koskinen@nokia.com> | 2010-11-04 15:55:32 +0200 |
---|---|---|
committer | Aki Koskinen <aki.koskinen@nokia.com> | 2010-11-10 13:41:42 +0200 |
commit | 32ec9158c5fe5bfca93b59055b82f8a9e7367631 (patch) | |
tree | 655e64e099cfb111fc488e1b7a5cf1458f4b8f63 /tools | |
parent | b03f58c4e223630f1ad72aa13dba8db5940adeda (diff) |
Changes: require only event type when in update mode
RevBy: Pauli Lehtinen
Details: update mode required four additional arguments - for no apparent reason.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mnotificationtool/mnotificationtool.cpp | 2 |
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]); } |