mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 06:17:53 +02:00
add "-0" as short for --headerless in "from" commands (#3042)
* replace --headerless flags with --noheaders / -n * Update from_csv.rs Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
This commit is contained in:
@ -72,7 +72,7 @@ fn from_ssv_text_treating_first_line_as_data_with_flag() {
|
||||
cwd: dirs.test(), pipeline(
|
||||
r#"
|
||||
open oc_get_svc.txt
|
||||
| from ssv --headerless -a
|
||||
| from ssv --noheaders -a
|
||||
| first
|
||||
| get Column1
|
||||
"#
|
||||
@ -82,7 +82,7 @@ fn from_ssv_text_treating_first_line_as_data_with_flag() {
|
||||
cwd: dirs.test(), pipeline(
|
||||
r#"
|
||||
open oc_get_svc.txt
|
||||
| from ssv --headerless
|
||||
| from ssv --noheaders
|
||||
| first
|
||||
| get Column1
|
||||
|
||||
|
Reference in New Issue
Block a user