mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-14 14:01:16 -03:00
set_color: use only on/off for boolean options
This is done partly for consistency `underline` where we still need `off` but where true/false doesn't make sense, and partly to simplify user choices and the code. See #12507 Closes #12541
This commit is contained in:
committed by
Johannes Altmanninger
parent
e9379904fb
commit
3f0b4d38ff
@@ -55,13 +55,13 @@ The following options are available:
|
||||
Sets dim mode.
|
||||
|
||||
**-i** or **--italics**, or **-iSTATE** or **--italics=STATE**
|
||||
Sets italics mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
Sets italics mode. The state can be **on** (default), or **off**.
|
||||
|
||||
**-r** or **--reverse**, or **-iSTATE** or **--reverse=STATE**
|
||||
Sets reverse mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
Sets reverse mode. The state can be **on** (default), or **off**.
|
||||
|
||||
**-s** or **--strikethrough**, or **-sSTATE** or **--strikethrough=STATE**
|
||||
Sets strikethrough mode. The state can be **on** / **true** (default), or **off** / **false**
|
||||
Sets strikethrough mode. The state can be **on** (default), or **off**.
|
||||
|
||||
**-u** or **--underline**, or **-uSTYLE** or **--underline=STYLE**
|
||||
Set the underline mode; supported styles are **single** (default), **double**, **curly**, **dotted**, **dashed** and **off**.
|
||||
|
||||
Reference in New Issue
Block a user