From f0149b6c644b7fe3b638e019cd730cfbc0cfde03 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sun, 8 Jun 2008 09:19:16 -0700 Subject: Forgot to actually implement the help option in cron/cull_bad_shunt --- cron/cull_bad_shunt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cron') 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 -- cgit v1.2.3