import lilylib as ly
global _;_=ly._
+ly.require_python_version ()
+
import convertrules
lilypond_version_re_str = '\\\\version *\"([0-9.]+)"'
version taken from the \\version command, to the current LilyPond version.''')
+ _ ("Examples:")
+ '''
- convert-ly -e old.ly
- convert-ly --from=2.3.28 --to 2.5.21 foobar.ly
+ $ convert-ly -e old.ly
+ $ convert-ly --from=2.3.28 --to=2.5.21 foobar.ly > foobar-new.ly
''')
copyright = ('Jan Nieuwenhuizen <janneke@gnu.org>',
default=False)
p.add_option ("-s", '--show-rules',
- help=_ ("show rules [default: --from=0, --to=%s]") % program_version,
+ help=_ ("show rules [default: -f 0, -t %s]") % program_version,
dest='show_rules',
action='store_true', default=False)
dest="to_version",
default='')
- p.add_option_group (ly.display_encode (_ ('Bugs')),
+ p.add_option_group ('',
description=(_ ("Report bugs via")
+ ''' http://post.gmane.org/post.php'''
'''?group=gmane.comp.gnu.lilypond.bugs\n'''))