forked from extern/nushell
Fix usage of deprecated C-style logical and
(#7627)
n untested examples we still had `&&`
This commit is contained in:
parent
6ac26094da
commit
35b12fe5ec
@ -307,7 +307,7 @@ impl Command for Ls {
|
||||
Example {
|
||||
description:
|
||||
"List all dirs in your home directory which have not been modified in 7 days",
|
||||
example: "ls -as ~ | where type == dir && modified < ((date now) - 7day)",
|
||||
example: "ls -as ~ | where type == dir and modified < ((date now) - 7day)",
|
||||
result: None,
|
||||
},
|
||||
Example {
|
||||
|
@ -126,7 +126,7 @@ impl Command for Rm {
|
||||
});
|
||||
examples.push(Example {
|
||||
description: "Delete all 0KB files in the current directory",
|
||||
example: "ls | where size == 0KB && type == file | each { rm $in.name } | null",
|
||||
example: "ls | where size == 0KB and type == file | each { rm $in.name } | null",
|
||||
result: None,
|
||||
});
|
||||
examples
|
||||
|
Loading…
Reference in New Issue
Block a user