1
0
mirror of https://github.com/nushell/nushell.git synced 2025-06-16 23:16:57 +02:00
WindSoilder d34581db4a
Rename: change the SyntaxShape of -c flag from list to record ()
# Description
Fixes:  
Also closes:  

# User-Facing Changes
After this change, we need to use `-c` flag like this:
```nushell
[[a, b, c]; [1, 2, 3]] | rename -c { a: ham }
```
But we can rename many columns easily, here is another example:
```nushell
[[a, b, c]; [1, 2, 3]] | rename -c { a: ham, b: ham2 }
```
2023-09-30 08:59:47 -05:00
..