Add some documentation.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-01-19 22:42:13 +00:00
parent ced7888947
commit e7715d79c6

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))