Skip to content

Commit ad7262b

Browse files
authored
Dashes instead of underscores in command comparisons (#816)
* is_empty -> is-empty * with_env -> with-env
1 parent d78f201 commit ad7262b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/nushell_map.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Note: this table assumes Nu 0.43 or later.
2727
| group-by | group by | GroupBy, group | Group-Object, group | |
2828
| help | sp_help | | Get-Help, help, man | man |
2929
| history | | | Get-History, history | history |
30-
| is_empty | is null | String.InNullOrEmpty | String.InNullOrEmpty | |
30+
| is-empty | is null | String.InNullOrEmpty | String.InNullOrEmpty | |
3131
| kill | | | Stop-Process, kill | kill |
3232
| last | | Last, LastOrDefault | Select-Object -Last | tail |
3333
| length | count | Count | Measure-Object, measure | wc |
@@ -69,6 +69,6 @@ Note: this table assumes Nu 0.43 or later.
6969
| uniq | distinct | Distinct | Get-Unique, gu | uniq |
7070
| upsert | As | | | |
7171
| version | select @@version | | $PSVersionTable | |
72-
| with_env | | | $env:FOO = 'bar' | export foo = "bar" |
72+
| with-env | | | $env:FOO = 'bar' | export foo = "bar" |
7373
| where | where | Where | Where-Object, where, "?" operator | |
7474
| which | | | | which |

0 commit comments

Comments
 (0)