Change f/full flag to l/long for ls and ps commands (#2283)

* Change `f`/`full` flag to `l`/`long` for `ls` and `ps` commands

* Fix a few more `--full` instances
This commit is contained in:
Joseph T. Lyons
2020-08-01 14:30:45 -04:00
committed by GitHub
parent 4ef15b5f80
commit 9fb6f5cd09
13 changed files with 34 additions and 33 deletions

View File

@ -180,10 +180,10 @@ fn list_all_columns() {
);
let expected = ["name", "type", "target", "size", "modified"].join("");
assert_eq!(actual.out, expected, "column names are incorrect for ls -w");
// Full
// Long
let actual = nu!(
cwd: dirs.test(),
"ls -f | get | to md"
"ls -l | get | to md"
);
let expected = {
#[cfg(unix)]
@ -206,7 +206,7 @@ fn list_all_columns() {
};
assert_eq!(
actual.out, expected,
"column names are incorrect for ls full"
"column names are incorrect for ls long"
);
},
);