X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fabc2ly.py;h=749baed3c84f3cc0914d591c9cd2ca4ad2dc3f0f;hb=568b59fafb1b04b1465d37e5d82ae410043bbfb3;hp=05edf98ae5f339c000408080a8586e5a942aacd8;hpb=62e13b5b5d434857e9987a8cf7c5c3b370f87e8c;p=lilypond.git diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 05edf98ae5..749baed3c8 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -928,8 +928,7 @@ def get_bar_acc(note, octave, state): return(UNDEF) def clear_bar_acc(state): - for k in state.in_acc: - del state.in_acc[k] + state.in_acc = {} # if we are parsing a beam, close it off @@ -1341,7 +1340,8 @@ def print_version (): def get_option_parser (): p = ly.get_option_parser (usage=_ ("%s [OPTION]... FILE") % 'abc2ly', description=_ ('''abc2ly converts ABC music files (see -%s) to LilyPond input.''') % 'http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt', +%s) to LilyPond input. +''') % 'http://www.gre.ac.uk/~c.walshaw/abc2mtex/abc.txt', add_help_option=False) p.version = "abc2ly (LilyPond) @TOPLEVEL_VERSION@" @@ -1358,7 +1358,7 @@ def get_option_parser (): p.add_option ('-s', '--strict', help=_ ("be strict about success"), action='store_true') p.add_option ('-b', '--beams', help=_ ("preserve ABC's notion of beams")) - 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'''))