diff options
author | Christian Hesse <mail@eworm.de> | 2024-09-12 09:26:32 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-09-12 10:39:59 +0200 |
commit | 60c9fe2557f30d81bfd5b6bcf866bc6a80e6273a (patch) | |
tree | 0f066cb9298578bc35f43f2941d8a4d24bb9a373 /bin | |
parent | 9d78c2daf49ac7f67dc5c891699f0c8a18124c77 (diff) | |
download | pacman-offline-60c9fe2557f30d81bfd5b6bcf866bc6a80e6273a.tar.gz pacman-offline-60c9fe2557f30d81bfd5b6bcf866bc6a80e6273a.tar.zst |
exit with failure on illegal option
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pacman-offline | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/pacman-offline b/bin/pacman-offline index ae2ec19..58b81f2 100755 --- a/bin/pacman-offline +++ b/bin/pacman-offline @@ -32,6 +32,11 @@ while getopts 'cfhprty' opt; do help exit 0 ;; + c|f|p|r|t|y) + ;; + *) + exit 1 + ;; esac done |