aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-06-08 09:19:16 -0700
committerMark Sapiro <mark@msapiro.net>2008-06-08 09:19:16 -0700
commitf0149b6c644b7fe3b638e019cd730cfbc0cfde03 (patch)
treea216ff43d3ed28081e99d2019236f636019c764a
parent1e1cc3e1e1855233c8fa9eae005f7efd74d44d39 (diff)
downloadmailman2-f0149b6c644b7fe3b638e019cd730cfbc0cfde03.tar.gz
mailman2-f0149b6c644b7fe3b638e019cd730cfbc0cfde03.tar.xz
mailman2-f0149b6c644b7fe3b638e019cd730cfbc0cfde03.zip
Forgot to actually implement the help option in cron/cull_bad_shunt
-rwxr-xr-xcron/cull_bad_shunt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cron/cull_bad_shunt b/cron/cull_bad_shunt
index ce0dfb0f..3428a78f 100755
--- a/cron/cull_bad_shunt
+++ b/cron/cull_bad_shunt
@@ -79,6 +79,9 @@ def main():
if args:
usage(1)
+ for opt, arg in opts:
+ if opt in ('-h', '--help'):
+ usage(0)
if mm_cfg.BAD_SHUNT_STALE_AFTER <= 0:
# Nothing to do