diff options
Diffstat (limited to 'elo.py')
-rwxr-xr-x | elo.py | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -10,12 +10,14 @@ parser = argparse.ArgumentParser( formatter_class=argparse.RawTextHelpFormatter) parser.add_argument('command', metavar='COMMAND', nargs='?', help="Action to execute against the database:\n" - "print - prints the rankings for all drivers ranked in 12 months,\n" + "print - prints the rankings for all drivers ranked " + "in 12 months,\n" "reset - resets the rankings,\n" "rate - calculates the rankings\n" "init - init clean database for the application\n" "Default value is 'print'.", - default='print', choices=['print', 'rate', 'reset', 'init']) + default='print', + choices=['print', 'rate', 'reset', 'init']) parser.add_argument('--date', help='Date for which the action should be executed.\n' 'Print ratings for DATE,\n' @@ -23,17 +25,17 @@ parser.add_argument('--date', 'or rank the races all the way up to DATE.') parser.add_argument( '--limit', - help='Ranking list (display) cut-off point.', - type=int) + help='Ranking list (display) cut-off point.', + type=int) parser.add_argument( '-v', - help='Display verbose info on rating progress to STDERR.', - action='store_true') + help='Display verbose info on rating progress to STDERR.', + action='store_true') parser.add_argument( '--force', - '-f', - help='Force database initialization (for "init" command).', - action='store_true') + '-f', + help='Force database initialization (for "init" command).', + action='store_true') arguments = parser.parse_args() |