summaryrefslogtreecommitdiffstats
path: root/checkapk.in
diff options
context:
space:
mode:
Diffstat (limited to 'checkapk.in')
-rw-r--r--checkapk.in12
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"