- if (application::_global_argc < 2) {
- log(astring("The directory where the 'version.ini' file is located\n"
- "must be specified as the first parameter of this program. Another\n"
- "version file may optionally be specified as the second parameter of\n"
- "the program; the version contained in this file will be used to set\n"
- "the version of the file specified in the first parameter.\n"
- "Additionally, if the environment variable 'DEBUG' exists, then the\n"
- "generated RC file will be marked as a debug build. Otherwise it is\n"
- "marked as a release build. Note that the CLAM system automatically\n"
- "sets this for you.\n\n"), ALWAYS_PRINT);
+ if (application::_global_argc < 3) {
+ log(astring(
+"The directory where the 'version.ini' file is located must be specified as the\n"
+"first parameter of this program. The second parameter must provide the\n"
+"storage location where the version header will be written. Another version\n"
+"file may optionally be specified as the third parameter of the program; the\n"
+"version contained in this file will be used to set the version of the file\n"
+"specified in the first parameter.\n"
+"Additionally, if the environment variable 'DEBUG' exists, then the\n"
+"generated RC file will be marked as a debug build. Otherwise it is\n"
+"marked as a release build. Note that the CLAM system automatically\n"
+"sets this for you.\n\n"), ALWAYS_PRINT);