# keep_temp_dir_p = 0
-help_summary = _ ("Convert MIDI to LilyPond source")
+help_summary = _ ("Convert MIDI to LilyPond source.")
option_definitions = [
('', 'a', 'absolute-pitches', _ ("print absolute pitches")),
('', 'e', 'explicit-durations', _ ("print explicit durations")),
('', 'h', 'help', _ ("print this help")),
(_ ("ALT[:MINOR]"), 'k', 'key', _ ("set key: ALT=+sharps|-flats; MINOR=1")),
- (_ ("FILE"), 'o', 'output', _ ("write ouput to FILE")),
+ (_ ("FILE"), 'o', 'output', _ ("write output to FILE")),
(_ ("DUR"), 's', 'start-quant', _ ("quantise note starts on DUR")),
(_ ("DUR*NUM/DEN"), 't', 'allow-tuplet', _ ("allow tuplet durations DUR*NUM/DEN")),
('', 'V', 'verbose', _ ("be verbose")),
if o[1]:
sh = '-%s' % o[1]
- sep = ' '
+ sep = ' '
if o[1] and o[2]:
- sep = ','
+ sep = ', '
long = ''
if o[2]:
return str
def help ():
- ls = [(_ ("Usage: %s [OPTION]... FILE") % program_name),
+ ls = [(_ ("Usage: %s [OPTIONS]... FILE") % program_name),
('\n\n'),
(help_summary),
('\n\n'),
('\n'),
(options_help_str (option_definitions)),
('\n\n'),
- (_ ("Report bugs to %s") % 'bug-lilypond@gnu.org'),
+ (_ ("Report bugs to %s.") % 'bug-lilypond@gnu.org'),
('\n')]
map (sys.stdout.write, ls)