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:
Saeed Rasooli
2021-02-22 10:55:17 +03:30
committed by GitHub
parent b5ae024cc8
commit 42d18d2294
12 changed files with 61 additions and 56 deletions

View File

@ -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