Skip to content

Commit a0bbb20

Browse files
nim65szwpaper
authored andcommitted
allow directroy-only + depth, fix #747
1 parent 82124fd commit a0bbb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub struct Cli {
6565
pub depth: Option<usize>,
6666

6767
/// Display directories themselves, and not their contents (recursively when used with --tree)
68-
#[arg(short, long, conflicts_with_all = ["depth", "recursive"])]
68+
#[arg(short, long, conflicts_with = "recursive")]
6969
pub directory_only: bool,
7070

7171
/// How to display permissions [default: rwx for linux, attributes for windows]

0 commit comments

Comments
 (0)