128
128
default_path = os.path.join( os.path.abspath(os.path.dirname(sys.argv[0])) , 'build', 'ubuntu' )
130
130
default_locale = locale.getlocale()[0]
133
132
parser = OptionParser(usage="usage: %prog [options] [slideshow]")
134
133
parser.add_option("-l", "--locale", help="LOCALE to use for the slideshow", metavar="LOCALE", default=default_locale)
135
parser.add_option("-r", "--rtl", action="store_true", help="use output in right-to-left format", default=default_rtl)
136
parser.add_option("-c", "--controls", help="True or False to enable controls in the slideshow (you may need to resize the window)", default=True)
134
parser.add_option("-r", "--rtl", action="store_true", help="use output in right-to-left format")
135
parser.add_option("-c", "--controls", action="store_true", help="Enable controls in the slideshow (you may need to resize the window)")
137
136
parser.add_option("-p", "--path", help="path to the SLIDESHOW which will be presented", metavar="SLIDESHOW", default=default_path)
139
138
(options, args) = parser.parse_args()