X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fconvert-ly.py;h=d4e4ceecc284c4a335dbd999ab58b399d2fbdb1e;hb=703ad9d9cf5b48abfbd14cac074859189f4cda81;hp=6d7eda4a41dd712884a96e137947ce2c7d91025c;hpb=4f74aa654a30dee376dd724708c1abd8d7141058;p=lilypond.git diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 6d7eda4a41..d4e4ceecc2 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -69,8 +69,17 @@ Copyright (c) %s by def get_option_parser (): p = ly.get_option_parser (usage=_ ("%s [OPTION]... FILE") % 'convert-ly', - version="@TOPLEVEL_VERSION@", - description=help_summary) + description=help_summary, + add_help_option=False) + + p.version="@TOPLEVEL_VERSION@" + p.add_option("--version", + action="version", + help=_ ("show version number and exit")) + + p.add_option("-h", "--help", + action="help", + help=_ ("show this help and exit")) p.add_option ('-f', '--from', action="store", @@ -99,7 +108,7 @@ def get_option_parser (): dest="to_version", default='') - p.add_option_group ('bugs', + p.add_option_group (ly.display_encode (_ ('Bugs')), description=(_ ("Report bugs via") + ''' http://post.gmane.org/post.php''' '''?group=gmane.comp.gnu.lilypond.bugs\n'''))