mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 20:47:44 +02:00
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:
@ -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"
|
||||
);
|
||||
},
|
||||
);
|
||||
|
Reference in New Issue
Block a user