From 8e0188c7555c6c48917132e2e5729a6ea52c9001 Mon Sep 17 00:00:00 2001 From: "andy.boot" Date: Wed, 7 Jul 2021 16:44:02 +0100 Subject: [PATCH] README: Update usage examples of dust --- README.md | 17 ++++++++++------- src/main.rs | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 529fa15..7919782 100644 --- a/README.md +++ b/README.md @@ -44,13 +44,16 @@ Dust will list a slightly-less-than-the-terminal-height number of the biggest su Usage: dust Usage: dust Usage: dust -Usage: dust -p (full-path - does not shorten the path of the subdirectories) -Usage: dust -s (apparent-size - shows the length of the file as opposed to the amount of disk space it uses) -Usage: dust -n 30 (shows 30 directories instead of the default) -Usage: dust -d 3 (shows 3 levels of subdirectories) -Usage: dust -r (reverse order of output, with root at the lowest) -Usage: dust -X ignore (ignore all files and directories with the name 'ignore') -Usage: dust -b (do not show percentages or draw ASCII bars) +Usage: dust -p (full-path - Show fullpath of the subdirectories) +Usage: dust -s (apparent-size - shows the length of the file as opposed to the amount of disk space it uses) +Usage: dust -n 30 (shows 30 directories instead of the default [default is terminal height]) +Usage: dust -d 3 (shows 3 levels of subdirectories) +Usage: dust -r (reverse order of output) +Usage: dust -X ignore (ignore all files and directories with the name 'ignore') +Usage: dust -b (do not show percentages or draw ASCII bars) +Usage: dust -i (do not show hidden files) +Usage: dust -c (No colors [monochrome]) +Usage: dust -f (Count files instead of space) ``` diff --git a/src/main.rs b/src/main.rs index 4774ddc..3f9b155 100644 --- a/src/main.rs +++ b/src/main.rs @@ -141,7 +141,7 @@ fn main() { Arg::with_name("ignore_hidden") .short("i") // Do not use 'h' this is used by 'help' .long("ignore_hidden") - .help("Obey .git_ignore rules & Do not display hidden files"), + .help("Do not display hidden files"), ) .arg( Arg::with_name("width")