index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-15 14:42:06 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-05 18:31:17 -0400 |
commit | 51b8f2fff11dda8e04a12318624953ab4a22d8e7 (patch) | |
tree | 410cbb80d93763612b79d172231b8008d55a0580 /lddd.in | |
parent | c4d595722ed5c4172bc18190a6c72468a763d9c0 (diff) |
-rw-r--r-- | lddd.in | 18 |
@@ -4,7 +4,23 @@ # # License: Unspecified -m4_include(lib/common.sh) +. "$(librelib messages)" + +usage() { + print "Usage: %s [-h]" "${0##*/}" + print "Find broken library links on your machine." + echo + prose "Scans \$PATH and library directories for ELF files with + references to missing shared libraries." +} + +if [[ $1 = '-h' ]]; then + usage + exit 0 +elif [[ $# -gt 0 ]]; then + usage >&2 + exit 1 +fi ifs=$IFS IFS="${IFS}:" |