# Caption Update Update a video caption. Use this skill to update a video caption. ## Usage ```bash yutu caption update [flags] ``` ## Flags | Flag | Shorthand | Required | Description | |------|-----------|----------|-------------| | `--audioTrackType` | `-a` | | unknown\|primary\|commentary\|descriptive (default "unknown") | | `--file` | `-f` | | Path to save the caption file | | `--isAutoSynced` | `-A` | | Whether YouTube synchronized the caption track to the audio track in the video (default true) | | `--isCC` | `-C` | | Whether the track contains closed captions for the deaf and hard of hearing | | `--isDraft` | `-D` | | whether the caption track is a draft | | `--isEasyReader` | `-E` | | Whether caption track is formatted for 'easy reader' | | `--isLarge` | `-L` | | Whether the caption track uses large text for the vision-impaired | | `--jsonpath` | `-j` | | JSONPath expression to filter the output | | `--language` | `-l` | | Language of the caption track | | `--name` | `-n` | | Name of the caption track | | `--onBehalfOf` | `-b` | | ID of the YouTube account that the content owner is acting on behalf of | | `--onBehalfOfContentOwner` | `-B` | | ID of the content owner, for YouTube content partners | | `--output` | `-o` | | json\|yaml\|silent | | `--trackKind` | `-t` | | standard\|ASR\|forced (default "standard") | | `--videoId` | `-v` | Yes | ID of the video | ## Examples ```bash # Publish a draft caption yutu caption update --videoId dQw4w9WgXcQ --isDraft=false # Update caption language and name yutu caption update --videoId dQw4w9WgXcQ --language en --name English # Update caption file yutu caption update --videoId dQw4w9WgXcQ --file updated.srt ```