From 87796e2bac2aef1bda11724653fe14358092404f Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 13 Aug 2013 15:07:27 +0200 Subject: rename runonce to testrun to prevent confusion --- bin/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/updater.py') diff --git a/bin/updater.py b/bin/updater.py index 34ce1bfe0..bcae1dd26 100644 --- a/bin/updater.py +++ b/bin/updater.py @@ -132,7 +132,7 @@ class Updater: def main(): parser = argparse.ArgumentParser() - parser.add_argument('--runonce', + parser.add_argument('--testrun', help='Run update only once, DO NOT use this in a cron job, only \ recommended for testing', action='store_true') parser.add_argument('--threads', @@ -159,7 +159,7 @@ def main(): # create the updater and run the threads updater = Updater(args.url, args.threads, args.interval, args.user, - args.password, args.timeout, args.runonce) + args.password, args.timeout, args.testrun) updater.run() -- cgit v1.2.3