Skip to content

Commit

Permalink
chafa: Fix documentation for --relative
Browse files Browse the repository at this point in the history
  • Loading branch information
hpjansson committed Jun 25, 2023
1 parent e9bf17b commit a98c086
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/chafa.xml
Expand Up @@ -288,9 +288,9 @@ useful in low-color modes.
<varlistentry>
<term><option>--relative <replaceable>bool</replaceable></option></term>
<listitem><para>
Use relative cursor positioning [on, off]. When off, linefeeds will be used to
advance the cursor vertically. Defaults to on, except when used with "-c none",
where it defaults to off.
Use relative cursor positioning [on, off]. When on, control sequences will be
used to position images relative to the cursor. When off, newlines will be used
to separate rows instead for e.g. 'less -R' interop. Defaults to off.
</para></listitem>
</varlistentry>

Expand Down
8 changes: 4 additions & 4 deletions tools/chafa/chafa.c
Expand Up @@ -477,10 +477,10 @@ print_summary (void)
" altered state (rude).\n"
" -p, --preprocess=BOOL Image preprocessing [on, off]. Defaults to on with 16\n"
" colors or lower, off otherwise.\n"
" --relative=BOOL Use relative cursor positioning [on, off]. When off,\n"
" linefeeds will be used to advance the cursor vertically.\n"
" Defaults to on, except when used with \"-c none\", where\n"
" it defaults to off.\n"
" --relative=BOOL Use relative cursor positioning [on, off]. When on,\n"
" control sequences will be used to position images relative\n"
" to the cursor. When off, newlines will be used to separate\n"
" rows instead for e.g. 'less -R' interop. Defaults to off.\n"
" --scale=NUM Scale image, respecting terminal's maximum dimensions. 1.0\n"
" approximates original pixel dimensions. Specify \"max\" to\n"
" use all available space. Defaults to 1.0 for pixel graphics\n"
Expand Down

0 comments on commit a98c086

Please sign in to comment.