From 250104c9daa96500a5df181a6632e29ab54f613c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orvar=20Segerstr=C3=B6m?= Date: Mon, 23 Dec 2019 12:08:03 +0100 Subject: [PATCH] Add new suppress flags to --help --- src/options/help.rs | 6 +++++- xtests/help | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/options/help.rs b/src/options/help.rs index 0ce038a..22f52d7 100644 --- a/src/options/help.rs +++ b/src/options/help.rs @@ -49,7 +49,11 @@ LONG VIEW OPTIONS -t, --time FIELD which timestamp field to list (modified, accessed, created) -u, --accessed use the accessed timestamp field -U, --created use the created timestamp field - --time-style how to format timestamps (default, iso, long-iso, full-iso)"##; + --time-style how to format timestamps (default, iso, long-iso, full-iso) + --no-permissions suppress the permissions field + --no-filesize suppress the filesize field + --no-user suppress the user field + --no-time suppress the time field"##; static GIT_HELP: &str = r##" --git list each file's Git status, if tracked or ignored"##; static EXTENDED_HELP: &str = r##" -@, --extended list each file's extended attributes and sizes"##; diff --git a/xtests/help b/xtests/help index 504a89f..826cbc8 100644 --- a/xtests/help +++ b/xtests/help @@ -42,5 +42,9 @@ LONG VIEW OPTIONS -u, --accessed use the accessed timestamp field -U, --created use the created timestamp field --time-style how to format timestamps (default, iso, long-iso, full-iso) + --no-permissions suppress the permissions field + --no-filesize suppress the filesize field + --no-user suppress the user field + --no-time suppress the time field --git list each file's Git status, if tracked or ignored -@, --extended list each file's extended attributes and sizes