Add some documentation.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-01-19 22:42:13 +00:00
parent d1db5f8fef
commit 8afa72e569
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294356

View File

@ -18,6 +18,15 @@ libkey() {
return 0
}
usage() {
cat <<-EOF
usage: $0 [-Uv] file
-U: Skip looking for unresolved symbols.
-v: Show which library each symbol is resolved to.
EOF
exit 0
}
ret=0
CHECK_UNRESOLVED=1
VERBOSE_RESOLVED=0
@ -25,6 +34,7 @@ while getopts "Uv" flag; do
case "${flag}" in
U) CHECK_UNRESOLVED=0 ;;
v) VERBOSE_RESOLVED=1 ;;
*) usage ;;
esac
done
shift $((OPTIND-1))