X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Fgetopt-long.cc;h=7e1f3353357ccdeff64756ad5ef31d0bfad80d6d;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=bb51a018631f15362d34c6bd497ba2f5a032d976;hpb=9e69cb84d6ee5b0a861cd97869b10e3bdf0c833c;p=lilypond.git diff --git a/flower/getopt-long.cc b/flower/getopt-long.cc index bb51a01863..7e1f335335 100644 --- a/flower/getopt-long.cc +++ b/flower/getopt-long.cc @@ -1,7 +1,7 @@ /* process command line, GNU style. - this is Copyleft (c) 1996--2006 Han-Wen Nienhuys, + this is Copyleft (c) 1996--2008 Han-Wen Nienhuys, */ #include "getopt-long.hh" @@ -141,7 +141,7 @@ Getopt_long::report (Errorcod c) found_option_->to_string ()); break; case E_NOARGEXPECT: - str += _f ("option `%s' doesn't allow an argument", + str += _f ("option `%s' does not allow an argument", found_option_->to_string ()); break; case E_UNKNOWNOPTION: @@ -310,7 +310,7 @@ Long_option_init::table_string (Long_option_init *l) s += string (wid - s.length () + EXTRA_SPACES, ' '); string help_text (gettext (l[i].help_str0_)); - replace_all (help_text, "\n", + replace_all (&help_text, "\n", "\n" + string (wid + EXTRA_SPACES + 2, ' ')); tabstr += s + help_text + "\n"; }