summaryrefslogtreecommitdiff
path: root/update-initramfs
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-09-20 13:32:17 +0200
committermaximilian attems <maks@debian.org>2005-09-20 13:32:17 +0200
commit2299a84b5dfa78e7fc8f89724ab105571095bc9c (patch)
treeac2dc3204db37914aaf0d008ca92fffcfc76c42d /update-initramfs
parent21555c3e52c0165aa081aec15de5ac4eba3b23fc (diff)
downloadinitramfs-tools-2299a84b5dfa78e7fc8f89724ab105571095bc9c.tar.gz
initramfs-tools-2299a84b5dfa78e7fc8f89724ab105571095bc9c.zip
add question mark to the getopts
Diffstat (limited to 'update-initramfs')
-rw-r--r--update-initramfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-initramfs b/update-initramfs
index 9d7d1bc..f93fc97 100644
--- a/update-initramfs
+++ b/update-initramfs
@@ -231,7 +231,7 @@ takeover=0
##
-while getopts "k:cudyvht" flag; do
+while getopts "k:cudyvht?" flag; do
case "${flag}" in
k)
version="${OPTARG}"
@@ -254,7 +254,7 @@ while getopts "k:cudyvht" flag; do
t)
takeover="1"
;;
- h)
+ h|?)
usage
;;
esac