commit ee21c63ea7c2a6b7b2a4bb92f3d30dfc1fbc6f8a
Author: Ingvar Hagelund <ingvar(a)redpill-linpro.com>
Date: Tue Dec 6 09:56:00 2016 +0100
Call correct usage function
Signed-off-by: Ingvar Hagelund <ingvar(a)redpill-linpro.com>
kmodtool-kmodtool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/kmodtool-kmodtool b/kmodtool-kmodtool
index fe15432..ff346cb 100755
--- a/kmodtool-kmodtool
+++ b/kmodtool-kmodtool
@@ -377,7 +377,7 @@ while [ "${1}" ] ; do
;;
*)
echo "Error: Unknown option '${1}'." >&2
- usage >&2
+ myprog_help >&2
exit 2
;;
esac