This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
md-pdf/md_pdf/args.py

10 lines
320 B
Python
Raw Normal View History

2017-03-29 18:26:54 +01:00
import argparse
def parse_args():
parser = argparse.ArgumentParser()
2017-04-04 21:44:17 +01:00
parser.add_argument("-v", "--verbose", help="Display verbose output", action="count", default=0)
2017-03-29 22:18:01 +01:00
parser.add_argument("--update-csl", help="Update CSL files", action="store_true")
2017-03-31 17:52:30 +01:00
parser.add_help = True
2017-03-29 18:26:54 +01:00
return parser.parse_args()