|
14 | 14 | parser = argparse.ArgumentParser(
|
15 | 15 | description="Compute maximum window of time with 0 messages")
|
16 | 16 | parser.add_argument("raw_messages_file_path", metavar="input-file",
|
17 |
| - help="File to read the raw data downloaded as json", |
18 |
| - ) |
| 17 | + help="File to read the raw messages data downloaded as JSON") |
19 | 18 | parser.add_argument("window_of_downtimes_output_file_path", metavar="output-file",
|
20 |
| - help="File to write the raw data downloaded as json.", |
21 |
| - ) |
| 19 | + help="File to write the raw messages data downloaded as jSON.") |
22 | 20 | parser.add_argument("target_operator", metavar="operator",
|
23 |
| - help="Operator to analyze for downtime", |
24 |
| - ) |
| 21 | + help="Operator to analyze for downtime") |
25 | 22 | parser.add_argument("target_message_direction", metavar="direction-of-message", choices=('in', 'out'),
|
26 |
| - help="Direction of messages to limit the search for downtime to" |
27 |
| - ) |
| 23 | + help="Direction of messages to limit the search for downtime to") |
28 | 24 | parser.add_argument("start_date", metavar="start-date", type=lambda s: isoparse(s),
|
29 |
| - help="The start date as ISO 8601 string from which the window of downtime will be computed", |
30 |
| - ) |
| 25 | + help="The start date as ISO 8601 string from which the window of downtime will be computed") |
31 | 26 | parser.add_argument("end_date", metavar="end-date", type=lambda s: isoparse(s),
|
32 |
| - help="The end date as ISO 8601 string to which the window of downtime computation will end", |
33 |
| - ) |
| 27 | + help="The end date as ISO 8601 string to which the window of downtime computation will end") |
34 | 28 |
|
35 | 29 | args = parser.parse_args()
|
36 | 30 |
|
|
0 commit comments