Adding usage guard to canonifier script.

This commit is contained in:
Robin Sommer 2015-12-18 12:58:36 -08:00
parent 5cb4cd3970
commit aee312b5d2
3 changed files with 9 additions and 2 deletions

View file

@ -1,5 +1,5 @@
2.4-225 | 2015-12-18 11:40:43 -0800 2.4-226 | 2015-12-18 12:58:36 -0800
* Update host name in windows-version-detection.bro. (Aaron Eppert) * Update host name in windows-version-detection.bro. (Aaron Eppert)
@ -10,6 +10,8 @@
* StartTLS support for IRC. (Johanna Amann) * StartTLS support for IRC. (Johanna Amann)
* Adding usage guard to canonifier script. (Robin Sommer)
2.4-217 | 2015-12-04 16:50:46 -0800 2.4-217 | 2015-12-04 16:50:46 -0800
* SIP scripts code cleanup. (Seth Hall) * SIP scripts code cleanup. (Seth Hall)

View file

@ -1 +1 @@
2.4-225 2.4-226

View file

@ -2,6 +2,11 @@
# #
# Default canonifier used with the trace-based tests in testing/external/*. # Default canonifier used with the trace-based tests in testing/external/*.
if [ $# != 1 ]; then
echo "usage: `basename $0` <filename>"
exit 1
fi
filename=`basename $1` filename=`basename $1`
addl="cat" addl="cat"