diff options
Diffstat (limited to 'converter.py')
-rw-r--r-- | converter.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/converter.py b/converter.py index e5a0d9b..07944f4 100644 --- a/converter.py +++ b/converter.py @@ -1 +1,15 @@ #!/usr/bin/env python3 + +from optparse import OptionParser +"""Command line arguments""" +usage = "usage: %prog [options] file..." +parser = OptionParser(usage=usage) +parser.add_option('-i', '--initial-html', dest='header', + help='File for initial template of compiled HTML', + default='initial.html') +parser.add_option('-o', '--output-type', dest='output_type', + help='Type of output (filename | date)', + default='filename') +(options, args) = parser.parse_args() + + |