diff --git a/hsparse/parse_csv_contacts.py b/hsparse/parse_csv_contacts.py index 93d9481..7f93d37 100644 --- a/hsparse/parse_csv_contacts.py +++ b/hsparse/parse_csv_contacts.py @@ -11,13 +11,7 @@ import pandas as pd def parse_args(): parser = argparse.ArgumentParser(description="Parse Hubspot Contacts CSV Export") - parser.add_argument( - "-c", - "--csv", - help="Contacts CSV File", - type=str, - required=True, - ) + parser.add_argument("csv_file", help="Contacts CSV File", type=str) parser.add_argument( "-d", @@ -93,7 +87,7 @@ def csv_non_empty(CSV): def main(): args = parse_args() - CSV = args.csv + CSV = args.csv_file if args.dump: csv_dump(CSV)