Change `--java-script` to just `--script`
This should be specific enough in this context and is more consistent with `--script-settings`.
This commit is contained in:
parent
9a7108fe58
commit
d26a7afc47
|
@ -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:
|
* 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.
|
- This feature is still experimental. The script API is still subject to change.
|
||||||
|
|
|
@ -85,8 +85,8 @@ SetTagInfoArgs::SetTagInfoArgs(Argument &filesArg, Argument &verboseArg, Argumen
|
||||||
, preserveModificationTimeArg("preserve-modification-time", '\0', "preserves the file's modification time")
|
, 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")
|
, 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")
|
, 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" })
|
, jsArg("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" })
|
, jsSettingsArg("script-settings", '\0', "passes settings to the JavaScript specified via --script", { "key=value" })
|
||||||
, setTagInfoArg("set", 's', "sets the specified tag information and attachments")
|
, setTagInfoArg("set", 's', "sets the specified tag information and attachments")
|
||||||
{
|
{
|
||||||
docTitleArg.setRequiredValueCount(Argument::varValueCount);
|
docTitleArg.setRequiredValueCount(Argument::varValueCount);
|
||||||
|
|
Loading…
Reference in New Issue