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> | 2018-03-26 18:20:56 -0400 |
commit | bae0e4d364084d8370647c5608bebfff25350726 (patch) | |
tree | cd4b1d29b4d9382c8ef0cfb130ab1a891c2b4e06 /lddd.in | |
parent | ce1ff66a37a0420015eefaa8270a3877f662f4d3 (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}:" |