From 13beb248bc4e560898095a7701b92ddac98ebba8 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 24 Jul 2009 10:42:17 +0200 Subject: [PATCH] dracut: print help for unknow options --- dracut | 1 + 1 file changed, 1 insertion(+) diff --git a/dracut b/dracut index 44296b8..3c6d846 100755 --- a/dracut +++ b/dracut @@ -65,6 +65,7 @@ while (($# > 0)); do -H|--hostonly) hostonly="-h" ;; -i|--include) include_src="$2"; include_target="$3"; shift 2;; -I|--install) install_items="$2"; shift;; + -*) printf "\nUnknown option: %s\n\n" "$1" >&2; usage; exit 1;; *) break ;; esac shift -- 2.7.4