projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03edf3
)
dracut: print help for unknow options
author
Harald Hoyer
<harald@redhat.com>
Fri, 24 Jul 2009 08:42:17 +0000
(10:42 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 24 Jul 2009 09:54:08 +0000
(11:54 +0200)
dracut
patch
|
blob
|
history
diff --git
a/dracut
b/dracut
index
44296b8
..
3c6d846
100755
(executable)
--- 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