Date: Mon, 30 May 2005 16:00:20 GMT From: Tom Rhodes <trhodes@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 77720 for review Message-ID: <200505301600.j4UG0KFa011328@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=77720 Change 77720 by trhodes@trhodes_local on 2005/05/30 16:00:03 If no options are passed to auditreduce, print the usage message instead of silently failing and returning to the shell prompt. I would like to rework this usage message, but not right now. Affected files ... .. //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#2 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/bin/auditreduce/auditreduce.c#2 (text+ko) ==== @@ -682,6 +682,9 @@ } } + if (optind + 2 != argc) + usage("Unknown option"); + /* For each of the files passed as arguments dump the contents */ if(optind == argc) { // XXX should look in the default directory for audit trail files
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505301600.j4UG0KFa011328>