summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--update-initramfs4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 33108a0..c25c38b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ initramfs-tools (0.27) unstable; urgency=low
* Reorder the initramfs.conf variables.
+ * Add question mark to the getopts for the help message.
+
-- maximilian attems <maks@sternwelten.at> Mon, 19 Sep 2005 18:14:59 +0200
initramfs-tools (0.26) breezy; urgency=low
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