From 90868fff3466f62b2fb2ecf119f48b8c7039c8d5 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Thu, 24 Dec 2020 16:00:09 +0000 Subject: [PATCH] cmd/list: Remove help text about `-l` displaying file sizes - It doesn't work on the `HOMEBREW_CELLAR` dir for some reason, and using `du -sh` instead (PR 10131) was an extra call that we don't need. - (I had to edit the man page manually as `brew man` gives me "Broken pipe" errors.) --- Library/Homebrew/cmd/list.rb | 3 +-- docs/Manpage.md | 2 +- manpages/brew.1 | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 1506cc0f92..ab38eae271 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -48,8 +48,7 @@ module Homebrew "This is the default when output is not to a terminal." switch "-l", depends_on: "--formula", - description: "List formulae in long format. If the output is to a terminal, "\ - "a total sum for all the file sizes is printed before the long listing." + description: "List formulae in long format." switch "-r", depends_on: "--formula", description: "Reverse the order of the formulae sort to list the oldest entries first." diff --git a/docs/Manpage.md b/docs/Manpage.md index 7bc638a186..3f95456bc7 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -339,7 +339,7 @@ If *`cask`* is provided, list its artifacts. * `-1`: Force output to be one entry per line. This is the default when output is not to a terminal. * `-l`: - List formulae in long format. If the output is to a terminal, a total sum for all the file sizes is printed before the long listing. + List formulae in long format. * `-r`: Reverse the order of the formulae sort to list the oldest entries first. * `-t`: diff --git a/manpages/brew.1 b/manpages/brew.1 index 5a8a4b8b13..d615ee7827 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -468,7 +468,7 @@ Force output to be one entry per line\. This is the default when output is not t . .TP \fB\-l\fR -List formulae in long format\. If the output is to a terminal, a total sum for all the file sizes is printed before the long listing\. +List formulae in long format\. . .TP \fB\-r\fR