X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fprogram-option-scheme.cc;h=1dd74ff69e8a13495e943974898f3c73223302f0;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=638aaf634d96fca8d61646e5cacad400bacb7764;hpb=5ae46f750bfb3a947d4adc26044560da54c21e17;p=lilypond.git diff --git a/lily/program-option-scheme.cc b/lily/program-option-scheme.cc index 638aaf634d..1dd74ff69e 100644 --- a/lily/program-option-scheme.cc +++ b/lily/program-option-scheme.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2001--2007 Han-Wen Nienhuys + (c) 2001--2008 Han-Wen Nienhuys */ #include "program-option.hh" @@ -149,7 +149,7 @@ get_help_string () SCM opt_help_scm = scm_object_property (sym, ly_symbol2scm ("program-option-documentation")); string opt_help = ly_scm2string (opt_help_scm); - replace_all (opt_help, + replace_all (&opt_help, string ("\n"), string ("\n") + String_convert::char_string (' ', HELP_INDENT)); @@ -168,7 +168,7 @@ get_help_string () LY_DEFINE (ly_option_usage, "ly:option-usage", 0, 0, 0, (), - "Print @code{ly:set-option} usage") + "Print @code{ly:set-option} usage.") { string help = get_help_string (); progress_indication (help); @@ -219,19 +219,19 @@ LY_DEFINE (ly_set_option, "ly:set-option", 1, 1, 0, (SCM var, SCM val), } LY_DEFINE (ly_command_line_options, "ly:command-line-options", 0, 0, 0, (), - "The Scheme specified on command-line with @samp{-d}.") + "The Scheme options specified on command-line with @option{-d}.") { return ly_string2scm (init_scheme_variables_global); } LY_DEFINE (ly_command_line_code, "ly:command-line-code", 0, 0, 0, (), - "The Scheme specified on command-line with @samp{-e}.") + "The Scheme code specified on command-line with @option{-e}.") { return ly_string2scm (init_scheme_code_global); } LY_DEFINE (ly_command_line_verbose_p, "ly:command-line-verbose?", 0, 0, 0, (), - "Was be_verbose_global set?") + "Was @code{be_verbose_global} set?") { return scm_from_bool (be_verbose_global); }