Reformatted file

This commit is contained in:
Jamie Hardt
2019-10-09 20:03:18 -07:00
parent cb93ce65f1
commit a68adca6b1

View File

@@ -2,14 +2,17 @@ from ptulsconv.commands import convert
from optparse import OptionParser from optparse import OptionParser
import sys import sys
def main(): def main():
parser = OptionParser() parser = OptionParser()
parser.usage = "ptulsconv TEXT_EXPORT.txt" parser.usage = "ptulsconv TEXT_EXPORT.txt"
parser.add_option('-i', dest='in_time', help="Don't output events occurring before this timecode, and offset" parser.add_option('-i', dest='in_time', help="Don't output events occurring before this timecode, and offset"
" all events relative to this timecode.", metavar='TC') " all events relative to this timecode.", metavar='TC')
parser.add_option('-o', dest='out_time', help="Don't output events occurring after this timecode.", metavar='TC') parser.add_option('-o', dest='out_time', help="Don't output events occurring after this timecode.", metavar='TC')
parser.add_option('-P','--progress', default=False, action='store_true', dest='show_progress', help='Show progress bar.') parser.add_option('-P', '--progress', default=False, action='store_true', dest='show_progress',
parser.add_option('-m','--include-muted', default=False, action='store_true', dest='include_muted', help='Read muted clips.') help='Show progress bar.')
parser.add_option('-m', '--include-muted', default=False, action='store_true', dest='include_muted',
help='Read muted clips.')
(options, args) = parser.parse_args(sys.argv) (options, args) = parser.parse_args(sys.argv)
if len(args) < 2: if len(args) < 2:
@@ -23,4 +26,3 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
main() main()