From a0bbb20ae46d9c2f2228f5fe4524063aa5ef0910 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Sun, 25 Jun 2023 17:51:17 +0200 Subject: [PATCH] allow directroy-only + depth, fix #747 --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 1be493972..fa329592e 100644 --- a/src/app.rs +++ b/src/app.rs @@ -65,7 +65,7 @@ pub struct Cli { pub depth: Option, /// Display directories themselves, and not their contents (recursively when used with --tree) - #[arg(short, long, conflicts_with_all = ["depth", "recursive"])] + #[arg(short, long, conflicts_with = "recursive")] pub directory_only: bool, /// How to display permissions [default: rwx for linux, attributes for windows]