mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 18:12:57 +01:00
Add some documentation.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
d1db5f8fef
commit
8afa72e569
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294356
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user