X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/21242b3716cc0bda59ae70046da3b2fd9e43e84a..495af4aee942230ca0274c27882f5a6f083c3a66:/scripts/dl_cleanup.py?ds=sidebyside 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