From: fred Date: Sat, 30 Nov 1996 11:54:25 +0000 (+0000) Subject: lilypond-0.0.13 X-Git-Tag: release/1.5.59~6716 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d216410f22baea73617c5781ba3c8b0f84b048d4;p=lilypond.git lilypond-0.0.13 --- diff --git a/src/main.cc b/src/main.cc index 8e499b0204..35f20603ba 100644 --- a/src/main.cc +++ b/src/main.cc @@ -11,6 +11,7 @@ long_option_init theopts[] = { 1, "output", 'o', 0, "warranty", 'w', 0, "help", 'h', + 0, "debug", 'd', 0,0,0 }; @@ -20,7 +21,10 @@ help() cout << "--help, -h This help\n" "--warranty, -w show warranty & copyright\n" - "--output, -o set default output\n"; + "--output, -o set default output\n" + "--debug, -d enable debug output\n" + ; + } void notice() { @@ -64,6 +68,9 @@ main (int argc, char **argv) help(); exit(0); break; + case 'd': + set_debug(true); + break; default: assert(false); break;