diff options
author | Ansgar Burchardt <ansgar@debian.org> | 2016-09-20 23:06:06 (GMT) |
---|---|---|
committer | Ansgar Burchardt <ansgar@debian.org> | 2016-10-18 22:01:48 (GMT) |
commit | 5506572aee213656d58aa560396a72c741f8951f (patch) | |
tree | 4773f9477cfe600627b187cbf372e61d9f23a5cb | |
parent | 316b677defc78f8e4410d047bc1e1a314abcd666 (diff) | |
download | debootstrap-5506572aee213656d58aa560396a72c741f8951f.zip debootstrap-5506572aee213656d58aa560396a72c741f8951f.tar.gz debootstrap-5506572aee213656d58aa560396a72c741f8951f.tar.bz2 |
Error out when seeing short options
Bug: https://bugs.debian.org/548880
-rwxr-xr-x | debootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debootstrap b/debootstrap index 084a541..7875c5b 100755 --- a/debootstrap +++ b/debootstrap @@ -360,7 +360,7 @@ if [ $# != 0 ] ; then CHECKCERTIF="--no-check-certificate" shift ;; - --*) + -*) error 1 BADARG "unrecognized or invalid option %s" "$1" ;; *) |