Skip to content

Commit 250104c

Browse files
committed
Add new suppress flags to --help
1 parent 925f517 commit 250104c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/options/help.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ LONG VIEW OPTIONS
4949
-t, --time FIELD which timestamp field to list (modified, accessed, created)
5050
-u, --accessed use the accessed timestamp field
5151
-U, --created use the created timestamp field
52-
--time-style how to format timestamps (default, iso, long-iso, full-iso)"##;
52+
--time-style how to format timestamps (default, iso, long-iso, full-iso)
53+
--no-permissions suppress the permissions field
54+
--no-filesize suppress the filesize field
55+
--no-user suppress the user field
56+
--no-time suppress the time field"##;
5357

5458
static GIT_HELP: &str = r##" --git list each file's Git status, if tracked or ignored"##;
5559
static EXTENDED_HELP: &str = r##" -@, --extended list each file's extended attributes and sizes"##;

xtests/help

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@ LONG VIEW OPTIONS
4242
-u, --accessed use the accessed timestamp field
4343
-U, --created use the created timestamp field
4444
--time-style how to format timestamps (default, iso, long-iso, full-iso)
45+
--no-permissions suppress the permissions field
46+
--no-filesize suppress the filesize field
47+
--no-user suppress the user field
48+
--no-time suppress the time field
4549
--git list each file's Git status, if tracked or ignored
4650
-@, --extended list each file's extended attributes and sizes

0 commit comments

Comments
 (0)