cmd/list: improve passed through option descriptions.

This commit is contained in:
Mike McQuaid 2018-11-24 11:23:14 +00:00
parent 2121094f51
commit 1177f04094
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -49,13 +49,15 @@ module Homebrew
"formulae if <formulae> are given. See also `pin`, `unpin`." "formulae if <formulae> are given. See also `pin`, `unpin`."
# passed through to ls # passed through to ls
switch "-1", switch "-1",
description: "Option passed to `ls`" description: "Force output to be one entry per line. " \
"This is the default when output is not to a terminal."
switch "-l", switch "-l",
description: "Option passed to `ls`" description: "List in long format. If the output is to a terminal, "\
switch "-t", "a total sum for all the file sizes is output on a line before the long listing."
description: "Option passed to `ls`"
switch "-r", switch "-r",
description: "Option passed to `ls`" description: "Reverse the order of the sort to get the oldest entries first."
switch "-t",
description: "Sort by time modified (most recently modified first)."
switch :verbose switch :verbose
switch :debug switch :debug
end end