From 0372233331630c828d5a26e49bef82c9dbb9900d Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 27 May 2013 19:42:03 +0200 Subject: openlmi-mof-register: Handle --help I constantly find myself typing --help instead of -h, this is just hardcoded in my brain. Let's support this commandline option as well. --- openlmi-mof-register | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openlmi-mof-register') diff --git a/openlmi-mof-register b/openlmi-mof-register index 67f1d61..d327a1e 100755 --- a/openlmi-mof-register +++ b/openlmi-mof-register @@ -150,6 +150,10 @@ while getopts "$optspec" optchar; do just-mofs) JUST_MOFS=1 ;; + help) + usage; + exit 0; + ;; *) if [ "$OPTERR" != 1 ] || [ "${optspec:0:1}" = ":" ]; then echo "Unknown option --${OPTARG}" >&2 -- cgit