display boolean config options as true/false instead of Yes/No (#3043)

This commit is contained in:
ammkrn
2021-02-11 02:50:33 -06:00
committed by GitHub
parent 8367f2001c
commit aa564f5072
5 changed files with 24 additions and 24 deletions

View File

@ -22,7 +22,7 @@ Usage:
─────────┬─────────────────
arg │ python
path │ /usr/bin/python
builtinNo
builtinfalse
─────────┴─────────────────
```
@ -31,7 +31,7 @@ Usage:
─────────┬────────────────────────────
arg │ cargo
path │ /home/bob/.cargo/bin/cargo
builtinNo
builtinfalse
─────────┴────────────────────────────
```
@ -42,7 +42,7 @@ Usage:
─────────┬──────────────────────────
arg │ ls
path │ nushell built-in command
builtinYes
builtintrue
─────────┴──────────────────────────
```
@ -51,7 +51,7 @@ Usage:
─────────┬──────────────────────────
arg │ which
path │ nushell built-in command
builtinYes
builtintrue
─────────┴──────────────────────────
```
@ -62,8 +62,8 @@ Passing the `all` flag identifies all instances of a command or binary
───┬─────┬──────────────────────────┬─────────
# │ arg │ path │ builtin
───┼─────┼──────────────────────────┼─────────
0 │ ls │ nushell built-in commandYes
1 │ ls │ /bin/ls │ No
0 │ ls │ nushell built-in commandtrue
1 │ ls │ /bin/ls │ false
───┴─────┴──────────────────────────┴─────────
```
@ -76,7 +76,7 @@ Passing the `all` flag identifies all instances of a command or binary
─────────┬────────────────────────────────
arg │ ./foo
path │ /Users/josephlyons/Desktop/foo
builtinNo
builtinfalse
─────────┴────────────────────────────────
```
@ -88,7 +88,7 @@ Passing the `all` flag identifies all instances of a command or binary
───┬─────┬───────────────┬─────────
# │ arg │ path │ builtin
───┼─────┼───────────────┼─────────
0 │ e │ Nushell aliasNo
0 │ e │ Nushell aliasfalse
───┴─────┴───────────────┴─────────
```
@ -100,6 +100,6 @@ and custom commands
───┬──────────────┬────────────────────────┬─────────
# │ arg │ path │ builtin
───┼──────────────┼────────────────────────┼─────────
0 │ my_cool_echo │ Nushell custom commandNo
0 │ my_cool_echo │ Nushell custom commandfalse
───┴──────────────┴────────────────────────┴─────────
```