diff options
| author | Dennis Fink | 2026-05-19 18:33:29 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-05-19 18:33:29 +0200 |
| commit | 94c325a5b7c1a12031ce3299445036d79c4e5c85 (patch) | |
| tree | b3878ec5f2b18f7929d66243fb5807528310641b | |
| parent | 99e6b7ceb93db5ce9c4b70619c6ead5a2aaa281c (diff) | |
| download | transcode.sh-94c325a5b7c1a12031ce3299445036d79c4e5c85.tar.gz transcode.sh-94c325a5b7c1a12031ce3299445036d79c4e5c85.zip | |
style: tidy option ordering and help alignment
Keep CLI sentinel variables and bash completion options ordered
consistently so related skip-codec settings stay grouped together.
Align the --backup-dir help text spacing with neighboring options for
cleaner terminal output.
Diffstat (limited to '')
| -rwxr-xr-x | transcode.sh | 6 | ||||
| -rw-r--r-- | transcode.sh.bash-completion | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/transcode.sh b/transcode.sh index 093db93..20d4684 100755 --- a/transcode.sh +++ b/transcode.sh @@ -188,10 +188,10 @@ _CLI_PRESET=0 _CLI_QUIET=0 _CLI_SIZE_REPORT=0 _CLI_SIZE_REPORT_FILE=0 +_CLI_SKIP_CODECS=() +_CLI_SKIP_CODECS_OVERRIDE=0 _CLI_VERBOSE=0 _CLI_VERIFY_OUTPUT=0 -_CLI_SKIP_CODECS_OVERRIDE=0 -_CLI_SKIP_CODECS=() # Values for size report _REPORT_ENCODING_FAILED=0 @@ -287,7 +287,7 @@ ${BOLD}${BLUE}Encoding options:${ALL_OFF} ${BOLD}${YELLOW}-p, --preset${ALL_OFF} ${BOLD}${GREEN}NAME${ALL_OFF} load ffmpeg arguments from a preset (default: ${BOLD}${RED}%s${ALL_OFF}) ${BOLD}${YELLOW}-N, --nice${ALL_OFF} ${BOLD}${GREEN}VALUE${ALL_OFF} nice adjustment for ffmpeg (default: ${BOLD}${RED}%d${ALL_OFF}) ${BOLD}${YELLOW}-n, --dry-run${ALL_OFF} show what would be done, do not run ffmpeg - ${BOLD}${YELLOW} --backup-dir${ALL_OFF} ${BOLD}${GREEN}DIR${ALL_OFF} backup original files to DIR instead of overwriting them + ${BOLD}${YELLOW} --backup-dir${ALL_OFF} ${BOLD}${GREEN}DIR${ALL_OFF} backup original files to DIR instead of overwriting them ${BOLD}${YELLOW} --hwaccel${ALL_OFF} ${BOLD}${GREEN}[METHOD]${ALL_OFF} enable hardware acceleration; METHOD defaults to ${BOLD}${RED}auto${ALL_OFF} if omitted ${BOLD}${YELLOW} --no-hwaccel${ALL_OFF} disable hardware acceleration (do not pass ${BOLD}${YELLOW}-hwaccel${ALL_OFF} to ffmpeg) diff --git a/transcode.sh.bash-completion b/transcode.sh.bash-completion index 160eb6f..716995e 100644 --- a/transcode.sh.bash-completion +++ b/transcode.sh.bash-completion @@ -178,8 +178,8 @@ _transcode_sh() { --size-report-file --size-report-file= --skip-codec - --skip-codec= --skip-codec-override + --skip-codec= --verbose --verify-output --version |
