[Licenses] Add usage note

Add usage note to license header script, WTD-1051.
This commit is contained in:
Victor Woeltjen 2015-05-13 12:45:12 -07:00
parent 28fbc5be09
commit c4a5ec0c7b

View File

@ -1,3 +1,10 @@
# Usage:
# ./scripts/licenses.sh <directory> <extension> <license>
# e.g.
# ./scripts/licenses.sh platform js scripts/license.js
#
# Note that this will ignore anything in a lib directory
LICENSE=`cat $3`
MATCHES=`find $1 -name "*.$2" | grep -v /lib/`