From 1177f04094b51d92d51bcfffbb1ac83f9179515e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 24 Nov 2018 11:23:14 +0000 Subject: [PATCH] cmd/list: improve passed through option descriptions. --- Library/Homebrew/cmd/list.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index fcdec9e227..74a3d1c1ca 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -49,13 +49,15 @@ module Homebrew "formulae if are given. See also `pin`, `unpin`." # passed through to ls 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", - description: "Option passed to `ls`" - switch "-t", - description: "Option passed to `ls`" + description: "List in long format. If the output is to a terminal, "\ + "a total sum for all the file sizes is output on a line before the long listing." 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 :debug end