summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Saurel <guilhem.saurel@laas.fr>2023-06-25 17:51:17 +0200
committerWei Zhang <kweizh@gmail.com>2024-10-20 11:27:24 +0800
commita0bbb20ae46d9c2f2228f5fe4524063aa5ef0910 (patch)
tree341f3636592ae27a96cab1f2099f22e417194fd5
parent82124fd0b946855254721117d7ba004c377d0f44 (diff)
allow directroy-only + depth, fix #747
-rw-r--r--src/app.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.rs b/src/app.rs
index 1be4939..fa32959 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -65,7 +65,7 @@ pub struct Cli {
pub depth: Option<usize>,
/// 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]