2.3 Command line options for convert-ly

The program is invoked as follows:

convert-ly [option]… filename

The following options can be given:

-d,--diff-version-update

update the \version to the latest or, if this is greater, do nothing.

-e,--edit

Apply the conversions direct to the input file, modifying it in-place.

-f,--from=from-patchlevel

Set the version to convert from. If this is not set, convert-ly will guess this, on the basis of \version strings in the file. E.g. ‘--from=2.10.25

-h, --help

Print usage help.

-l loglevel, --loglevel=loglevel

Set the output verbosity to loglevel. Possible values, in upper case, are PROGRESS (the default), NONE, WARNING, ERROR and DEBUG.

-n,--no-version

Normally, convert-ly adds a \version indicator to the output. Specifying this option suppresses this.

-s, --show-rules

Show all known conversions and exit.

-t, --to=to-patchlevel

Explicitly set which \version to convert to, otherwise the default is the most current value.

convert-ly --to=2.14.1 myfile.ly

To upgrade LilyPond fragments in texinfo files, use

convert-ly --from=… --to=… --no-version *.itely

To see the changes in the LilyPond syntax between two versions, use

convert-ly --from=… --to=… -s

其他语言:deutsch, español, français, magyar, italiano, 日本語
About automatic language selection.

LilyPond — Usage v2.17.26 (开发分支).