diff --git a/README.md b/README.md index b1e32c9..f6287ee 100644 --- a/README.md +++ b/README.md @@ -346,7 +346,7 @@ Here are some Bash examples which illustrate getting and setting tag information * Sets fields by running a script to compute changes dynamically: ``` - tageditor set --pedantic debug --java-script path/to/script.js -f foo.mp3 + tageditor set --pedantic debug --script path/to/script.js -f foo.mp3 ``` - This feature is still experimental. The script API is still subject to change. diff --git a/application/main.cpp b/application/main.cpp index 2f51f90..579f993 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -85,8 +85,8 @@ SetTagInfoArgs::SetTagInfoArgs(Argument &filesArg, Argument &verboseArg, Argumen , preserveModificationTimeArg("preserve-modification-time", '\0', "preserves the file's modification time") , preserveMuxingAppArg("preserve-muxing-app", '\0', "preserves the file's muxing app meta-data value") , preserveWritingAppArg("preserve-writing-app", '\0', "preserves the file's writing app meta-data value") - , jsArg("java-script", 'j', "modifies tag fields via the specified JavaScript", { "path" }) - , jsSettingsArg("script-settings", '\0', "passes settings to the JavaScript specified via --java-script", { "key=value" }) + , jsArg("script", 'j', "modifies tag fields via the specified JavaScript", { "path" }) + , jsSettingsArg("script-settings", '\0', "passes settings to the JavaScript specified via --script", { "key=value" }) , setTagInfoArg("set", 's', "sets the specified tag information and attachments") { docTitleArg.setRequiredValueCount(Argument::varValueCount);