From 31043462af3c23b528be7d99ebd9bdbeb5031885 Mon Sep 17 00:00:00 2001 From: Benjamin Sago Date: Sun, 11 Apr 2021 23:43:36 +0100 Subject: [PATCH] Improve help text for -d flag Fixes GH-202. --- man/exa.1.md | 2 +- src/options/help.rs | 2 +- xtests/outputs/help.ansitxt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/man/exa.1.md b/man/exa.1.md index 6e00a47..c96c477 100644 --- a/man/exa.1.md +++ b/man/exa.1.md @@ -84,7 +84,7 @@ FILTERING AND SORTING OPTIONS Use this twice to also show the ‘`.`’ and ‘`..`’ directories. `-d`, `--list-dirs` -: List directories like regular files. +: List directories as regular files, rather than recursing and listing their contents. `-L`, `--level=DEPTH` : Limit the depth of recursion. diff --git a/src/options/help.rs b/src/options/help.rs index 8f47a73..f3f4009 100644 --- a/src/options/help.rs +++ b/src/options/help.rs @@ -27,7 +27,7 @@ DISPLAY OPTIONS FILTERING AND SORTING OPTIONS -a, --all show hidden and 'dot' files - -d, --list-dirs list directories like regular files + -d, --list-dirs list directories as files; don't list their contents -L, --level DEPTH limit the depth of recursion -r, --reverse reverse the sort order -s, --sort SORT_FIELD which field to sort by diff --git a/xtests/outputs/help.ansitxt b/xtests/outputs/help.ansitxt index 750a66f..4e8cf52 100644 --- a/xtests/outputs/help.ansitxt +++ b/xtests/outputs/help.ansitxt @@ -20,7 +20,7 @@ DISPLAY OPTIONS FILTERING AND SORTING OPTIONS -a, --all show hidden and 'dot' files - -d, --list-dirs list directories like regular files + -d, --list-dirs list directories as files; don't list their contents -L, --level DEPTH limit the depth of recursion -r, --reverse reverse the sort order -s, --sort SORT_FIELD which field to sort by