diff options
author | bptato <nincsnevem662@gmail.com> | 2024-02-25 18:28:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-02-25 18:28:18 +0100 |
commit | 4df71520f39ed7992f78484701467e513a34c5dc (patch) | |
tree | 165ac9ec5106d30feb27d151058c7c1df63ff1e6 /doc | |
parent | 7d8304925d693054e17baabeac664f182a9def82 (diff) | |
download | chawan-4df71520f39ed7992f78484701467e513a34c5dc.tar.gz |
Update docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cha.1 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/cha.1 b/doc/cha.1 index 3bb9fc60..5af4319d 100644 --- a/doc/cha.1 +++ b/doc/cha.1 @@ -49,13 +49,13 @@ Print a short version of this page, then exit. .TP \fB\-o, \-\-opt\fR \fIconfig\fR Override configuration options. This accepts the configuration format is -described in \fBcha-config\fR(5), in other words the passed string must be -valid TOML. +described in \fBcha-config\fR(5), so the passed string must be valid TOML. -(The sole exception is quoting: to ease specifying string -parameters, unrecognized bare keywords are converted to strings. So this -works: \fB--opt\fR abcd.option-name=\fIoption-value\fR. However, symbols must -still be quoted.) +The sole exception is quoting: to ease specifying string parameters, +unrecognized bare keywords are converted to strings. So this works: +.br +\fB--opt\fR display.color-mode=\fIeight-bit\fR. Note that symbols and words +starting with a number must still be quoted. .TP \fB\-r, \-\-run\fR \fIscript\fR/\fIfile\fR Execute the string provided as a JS script, or execute the supplied JS @@ -98,8 +98,8 @@ file from stdin. Start in visual mode: the page specified in \fIstart.visual-home\fR is opened. .TP \fB\-\-\fP -Interpret all following arguments as files. (e.g. if you have a file named -\fI\-o\fR, open it as \fIcha \fB--\fR \fI-o\fR. +Interpret all following arguments as files. For example, if you have a file +named \fI\-o\fR, you can open it using \fIcha \fB--\fR \fI-o\fR. .SH ENVIRONMENT Certain environment variables are read and used by Chawan. |