parser = argparse.ArgumentParser(description='Process some integers.')
parser.add_argument('logs-dir', help='Directory with .log and .log.gz files')
parser.add_argument('results-csv', type=argparse.FileType('w'), default=sys
    .stdout, help='Output .csv filename')
args = parser.parse_args()
print(args)
Having options in argparse with a dash