X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Flilypond-book.py;h=9617f3666d3a4c878325a089b3d898def9771a8d;hb=21c235b6eee621d48106c40bcbb388baa9951181;hp=f8f09966fdf49c1e0b4c135b43302fe4d38252cb;hpb=a82dc4a0cca57f285e818f6c227c8428a3c02a71;p=lilypond.git diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index f8f09966fd..9617f3666d 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -113,7 +113,7 @@ def warranty (): %s %s -''' % ( _ ('Copyright (c) %s by') % '2001--2010', +''' % ( _ ('Copyright (c) %s by') % '2001--2011', '\n '.join (authors), _ ("Distributed under terms of the GNU General Public License."), _ ("It comes with NO WARRANTY."))) @@ -179,6 +179,11 @@ def get_option_parser (): action='store', dest='process_cmd', default='') + p.add_option ('-s', '--safe', help=_ ("Compile snippets in safe mode"), + action="store_true", + default=False, + dest="safe_mode") + p.add_option ('--skip-lily-check', help=_ ("do not fail if no lilypond output is found"), metavar=_ ("DIR"),