diff --git a/bin/oxtimelines b/bin/oxtimelines index 5850848..1a437f1 100755 --- a/bin/oxtimelines +++ b/bin/oxtimelines @@ -16,7 +16,8 @@ import oxtimelines # fixme: -w option should be 'keyframeswide' mode if __name__ == '__main__': - usage = ''' + usage = '''%prog [options] video1 [video2] + %prog takes one or more video files as input and outputs timeline images. If a cuts path is given, it also outputs a json file containing cuts. If in and out points are given, only that part of the video(s) will be rendered. @@ -31,8 +32,7 @@ widths will be 1 px per frame for the first one, and 1 px per second for the second (smaller) one. If the wide option is set, large 'keyframeswide' tiles will be rendered. They can be used at a later point to render small 'keyframes' tiles without having to decode the video again. - -usage: %prog [options] video1 [video2]''' +''' parser = OptionParser(usage=usage) parser.add_option('-o', '--output', dest='tiles', help='path for combined timeline tiles')