summaryrefslogtreecommitdiff
path: root/tools/ward.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ward.c')
-rw-r--r--tools/ward.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/ward.c b/tools/ward.c
index abea289..e5667a4 100644
--- a/tools/ward.c
+++ b/tools/ward.c
@@ -28,7 +28,7 @@ void usage(const int sts){
" Options\n"
" -help print this msg (and exit immediately).\n"
" -maxsize ii msg size in bytes; anything bigger will be rejected.\n"
-" -error-exit exit early if errors have been detected.\n"
+" -strict exit early if errors have been detected.\n"
"\n"
" Messages containing the string '-please-bounce-this-' will be rejected.\n"
" Messages with no date will be rejected.\n"
@@ -97,8 +97,9 @@ int main(int _argc, const char** _argv){
if (0) {
} else if (ARGS.prefix("-mid-required")) {
mysk.mid_required++;
- } else if (ARGS.prefix("-error-exit")) {
- mysk.error_exit++;
+ } else if (ARGS.prefix("-error-exit")
+ || ARGS.prefix("-strict")) {
+ mysk.strictness++;
} else if (ARGS.prefix("-maxsize", 1)) {
mysk.maxsize = atoi(ARGS.shift().c_str());
} else if (arg.substr(0,1) == "-") {