The "test-comment-format" command:
Usage: fossil test-comment-format [OPTIONS] TEXT [PREFIX] [ORIGTEXT]
Test comment formatting and printing. Use for testing only.
The default (canonical) formatting algorithm is:
- Omit leading/trailing whitespace
 - Collapse internal whitespace into a single space character.
 - Attempt to break lines at whitespace or at a hyphen.
 
Use --whitespace, --origbreak, --trimcrlf, --trimspace, and/or --wordbreak to disable the canonical processing and do the special processing specified by those other options.
Options:
- --decode
 - Decode the text using the same method used when handling the value of a C-card from a manifest.
 - --file FILE
 - Omit the TEXT argument and read the comment text from FILE.
 - --indent
 - Number of spaces to indent (default (-1) is to auto-detect). Zero means no indent.
 - --orig FILE
 - Take the value for the ORIGTEXT argumetn from FILE.
 - --origbreak
 - Attempt to break when the original comment text is detected.
 - --trimcrlf
 - Enable trimming of leading/trailing CR/LF.
 - --trimspace
 - Enable trimming of leading/trailing spaces.
 - --whitespace
 - Keep all internal whitespace.
 - --wordbreak
 - Attempt to break lines on word boundaries.
 - -W|--width NUM
 - Width of lines (default (-1) is to auto-detect). Zero means no limit.