diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-13 15:07:27 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-08-13 15:07:27 +0200 |
commit | 87796e2bac2aef1bda11724653fe14358092404f (patch) | |
tree | f88b2cb436efa1f924ff31d2f60af0d439726dcf /bin/updater.py | |
parent | 00c1eb127bc742ed823d520edc78954c0407c4d8 (diff) |
rename runonce to testrun to prevent confusion
Diffstat (limited to 'bin/updater.py')
-rw-r--r-- | bin/updater.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |