summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-07-05 08:59:51 +0200
committerCanop <cano.petrole@gmail.com>2020-07-05 08:59:51 +0200
commit9b6c34b973d201251bec904417d87431c7d32a2e (patch)
treef19aa71e446434c96c2a0dd71292f2faa2469b43
parent17ed9cb1d78109daf0cd3319b6121114c53e8935 (diff)
fix the `dcd` snippet in doc (was using old cdm syntax)v0.18.5
-rw-r--r--src/file_sum/mod.rs9
-rw-r--r--website/docs/tricks.md2
2 files changed, 4 insertions, 7 deletions
diff --git a/src/file_sum/mod.rs b/src/file_sum/mod.rs
index a6fec11..9cbd983 100644
--- a/src/file_sum/mod.rs
+++ b/src/file_sum/mod.rs
@@ -1,9 +1,6 @@
-/// compute the summed sum of directories.
-/// A cache is used to avoid recomputing the
-/// same directories again and again.
-/// Hard links are checked to avoid counting
-/// twice an inode.
-///
+/// compute consolidated data for directories: modified date, size, and count.
+/// A cache is used to avoid recomputing the same directories again and again.
+/// On unix, hard links are checked to avoid counting twice an inode.
mod sum_computation;
diff --git a/website/docs/tricks.md b/website/docs/tricks.md
index 3fe923f..2f73a46 100644
--- a/website/docs/tricks.md
+++ b/website/docs/tricks.md
@@ -15,7 +15,7 @@ As broot can be driven by commands, you can define this function:
# deep fuzzy cd
function dcd {
- br --only-folders --cmd "$1 :cd"
+ br --only-folders --cmd "$1;:cd"
}
(paste this for example in your .bashrc)