X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/21242b3716cc0bda59ae70046da3b2fd9e43e84a..2540dbba3ba74ff9a4c81890397f3db069b27968:/scripts/dl_cleanup.py diff --git a/scripts/dl_cleanup.py b/scripts/dl_cleanup.py index 48f587de5..67ccbda91 100755 --- a/scripts/dl_cleanup.py +++ b/scripts/dl_cleanup.py @@ -147,7 +147,8 @@ def main(argv): "hdBw:", [ "help", "dry-run", "show-blacklist", "whitelist=", ]) if len(args) != 1: - raise getopt.GetoptError() + usage() + return 1 except getopt.GetoptError: usage() return 1