diff options
author | maximilian attems <maks@debian.org> | 2005-09-20 13:32:17 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2005-09-20 13:32:17 +0200 |
commit | 2299a84b5dfa78e7fc8f89724ab105571095bc9c (patch) | |
tree | ac2dc3204db37914aaf0d008ca92fffcfc76c42d | |
parent | 21555c3e52c0165aa081aec15de5ac4eba3b23fc (diff) | |
download | initramfs-tools-2299a84b5dfa78e7fc8f89724ab105571095bc9c.tar.gz initramfs-tools-2299a84b5dfa78e7fc8f89724ab105571095bc9c.zip |
add question mark to the getopts
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | update-initramfs | 4 |
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 |