diff --git a/potoken_generator/main.py b/potoken_generator/main.py index c25e8ba..17d4717 100644 --- a/potoken_generator/main.py +++ b/potoken_generator/main.py @@ -74,7 +74,7 @@ Retrieve potoken using Chromium runned by nodriver, serve it on a json endpoint parser = argparse.ArgumentParser(description=description, formatter_class=argparse.RawDescriptionHelpFormatter) parser.add_argument('-o', '--oneshot', action='store_true', default=False, help='Do not start server. Generate token once, print it and exit') - parser.add_argument('--update-interval', '-u', type=int, default=3600, + parser.add_argument('--update-interval', '-u', type=int, default=300, help='How ofthen new token is generated, in seconds (default: %(default)s)') parser.add_argument('--port', '-p', type=int, default=8080, help='Port webserver is listening on (default: %(default)s)')