diff --git a/lflex_celcat_survival/cmd/fetch_celcat.py b/lflex_celcat_survival/cmd/fetch_celcat.py index 38a806dd56a0a8eba18c7f7098bb2922d4c1e796..6990e07eeffc6fc9263e3984512f654a0753aad0 100755 --- a/lflex_celcat_survival/cmd/fetch_celcat.py +++ b/lflex_celcat_survival/cmd/fetch_celcat.py @@ -8,11 +8,10 @@ import sys @click.command() @click.argument('course_request_file') @click.argument('credentials_file') -@click.option('--json', '--json-raw', default=None, help='If set, raw CELCAT events are written as JSON to this file.') -@click.option('--csv', default=None, help='If set, filteret events are written as CSV to this file.') -@click.option('--ics', default=None, help='If set, filtered events are written as ICS to this file.') -@click.option('--csv-no-description', is_flag=True, default=False, help='If set, CSV outputs will not contain the description column.') -def main(course_request_file, credentials_file, json, csv, ics, csv_no_description): +@click.option('--json', default=None, help='If set, raw events fetched from CELCAT as JSON are written to this file.') +@click.option('--csv', default=None, help='If set, fetched events are written as CSV to this file.') +@click.option('--ics', default=None, help='If set, fetched events are written as ICS to this file.') +def main(course_request_file, credentials_file, json, csv, ics): logging.basicConfig(level=logging.INFO) pd.set_option('display.max_columns', None) pd.set_option('display.max_rows', None)