diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-07-09 16:56:16 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2011-07-09 17:04:53 +0200 |
commit | 2c6650d8ad57f8abe8a0b7e3d1c2444143c2fb1f (patch) | |
tree | 57d7dbd4edaf46c1bd4b204d59bff74f704a6cc5 | |
parent | a27ed60a3ce13d2eaf38cee583f823eb874c4056 (diff) | |
download | mkinitcpio-2c6650d8ad57f8abe8a0b7e3d1c2444143c2fb1f.tar.gz mkinitcpio-2c6650d8ad57f8abe8a0b7e3d1c2444143c2fb1f.tar.xz |
mkinitcpio: reference -h on failed option parsing
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rwxr-xr-x | mkinitcpio | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,9 +133,9 @@ while getopts ':c:k:sb:g:p:m:nvH:LMhS:t:z:' arg; do M) SHOW_AUTOMODS=1 ;; t) TMPDIR=$OPTARG ;; z) optcompress=$OPTARG ;; - :) error "option requires an argument -- '$OPTARG'" >&2 + :) error "option requires an argument -- '$OPTARG' (use -h for help)" exit 1 ;; - \?) error "invalid option -- '$OPTARG'" >&2 + \?) error "invalid option -- '$OPTARG' (use -h for help)" exit 1 ;; esac done |