diff options
| author | Dennis Fink | 2026-02-26 16:29:55 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-02-26 16:29:55 +0100 |
| commit | aea6e655e1c572c2a11c5438c57634f15649bf5e (patch) | |
| tree | 1d8a89cc66e63d846659bf75a7d71a2d52da77c3 /transcode.sh.1 | |
| parent | 9c47ae0deeee4ff2b70720e9e8fc9a2a33da0d7e (diff) | |
| download | transcode.sh-aea6e655e1c572c2a11c5438c57634f15649bf5e.tar.gz transcode.sh-aea6e655e1c572c2a11c5438c57634f15649bf5e.zip | |
docs(cli): overhaul help and version output with color and structure
Rewrite `print_help` to use the full color palette and group options into
labeled sections (Encoding, Input, Savings log, Output, General, and a
new Configuration files section). The Configuration files section
documents the preset directory and skip.conf path, including the
variables available to preset authors and the security note about
trusted sources.
Default values for `--preset`, `--nice`, and `--saving-file` are now shown
inline using `$PRESET_NAME`, `$NICE_VALUE`, and `$SAVING_FILE` rather than
being hardcoded, so they always reflect the actual defaults.
Rewrite `print_version` to inline the BSD-3-Clause license text directly
instead of conditionally catting `LICENSES/BSD-3-Clause.txt`. This makes
`--version` self-contained regardless of where the script is invoked from.
Apply the same color treatment to the short usage hint printed when no
arguments are given.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
