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

@ -2,6 +2,11 @@
#
# 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`
addl="cat"