Skip to content

Commit aa6cd85

Browse files
committed
allowing multiple years
1 parent 6599c1f commit aa6cd85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def common_args(f):
192192
help="Create json file to add request to queue"),
193193
click.option('--stream', '-s', required=True, type=click.Choice(['surface','wave','pressure', 'land']),
194194
help="ECMWF stream currently operative analysis surface, pressure levels, wave model and ERA5 land"),
195-
click.option('--year', '-y', required=True,
195+
click.option('--year', '-y', multiple=True, required=True,
196196
help="year to download"),
197197
click.option('--month', '-m', multiple=True,
198198
help="month/s to download, if not specified all months for year will be downloaded "),

0 commit comments

Comments
 (0)