diff options
author | Dubiousjim <dubiousjim@gmail.com> | 2013-07-05 00:21:19 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-09 06:59:30 +0000 |
commit | ef9fb52908d3f423e6e537b84f62cb76c7868782 (patch) | |
tree | ae6e61c807f98893d84f189468444d5aa04ba3c7 /checkapk.in | |
parent | 7b2030a06ad926035fabbad64aac4ddeab0bb602 (diff) | |
download | abuild-ef9fb52908d3f423e6e537b84f62cb76c7868782.tar.gz abuild-ef9fb52908d3f423e6e537b84f62cb76c7868782.tar.bz2 abuild-ef9fb52908d3f423e6e537b84f62cb76c7868782.tar.xz abuild-ef9fb52908d3f423e6e537b84f62cb76c7868782.zip |
various: use long options, rework usages
Diffstat (limited to 'checkapk.in')
-rw-r--r-- | checkapk.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/checkapk.in b/checkapk.in index e95249e..2953b8b 100644 --- a/checkapk.in +++ b/checkapk.in @@ -16,8 +16,20 @@ fi . "$datadir/functions.sh" +usage() { + cat >&2 <<__EOF__ +$prog $abuild_ver - find ABI breakages in package upgrades +Usage: $prog +Run in the directory of a built package. +__EOF__ +} + +if [ $# -gt 0 ]; then + usage + exit 2 +fi if ! [ -f "$abuild_conf" ] && ! [ -f "$abuild_userconf" ]; then die "no abuild.conf found" |