From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 326A0138331 for ; Tue, 3 Apr 2018 13:39:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57F7EE0ADE; Tue, 3 Apr 2018 13:39:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E5CEE0ADE for ; Tue, 3 Apr 2018 13:39:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0CEF3335CD5 for ; Tue, 3 Apr 2018 13:39:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1DD4277 for ; Tue, 3 Apr 2018 13:39:38 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1522762755.ea69f8fc6eb1e1ee71eea57b938eac631dedb4de.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: man/include/, man/, / X-VCS-Repository: proj/portage-utils X-VCS-Files: man/include/qpkg.optdesc.yaml man/qsize.1 qsize.c X-VCS-Directories: man/include/ / man/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: ea69f8fc6eb1e1ee71eea57b938eac631dedb4de X-VCS-Branch: master Date: Tue, 3 Apr 2018 13:39:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 96c5d391-b848-4e3b-a1c0-379ea996720c X-Archives-Hash: 592fd45bd9626a888e06f7039d2123a1 commit: ea69f8fc6eb1e1ee71eea57b938eac631dedb4de Author: Fabian Groffen gentoo org> AuthorDate: Tue Apr 3 13:39:15 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Apr 3 13:39:15 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=ea69f8fc qsize: improve documentation Bug: https://bugs.gentoo.org/645554 man/include/qpkg.optdesc.yaml | 2 +- man/qsize.1 | 37 +++++++++++++++++++++---------------- qsize.c | 6 +++--- 3 files changed, 25 insertions(+), 20 deletions(-) diff --git a/man/include/qpkg.optdesc.yaml b/man/include/qpkg.optdesc.yaml index 2da2810..62c0b52 100644 --- a/man/include/qpkg.optdesc.yaml +++ b/man/include/qpkg.optdesc.yaml @@ -1,2 +1,2 @@ verbose: Check and report MD5 hash mismatches during install. -quiet: Ignored for compatability with other qapplets. +quiet: Ignored for compatibility with other qapplets. diff --git a/man/qsize.1 b/man/qsize.1 index aa613f8..a734afd 100644 --- a/man/qsize.1 +++ b/man/qsize.1 @@ -1,56 +1,61 @@ -.TH qsize "1" "Mar 2016" "Gentoo Foundation" "qsize" +.\" generated by mkman.py, please do NOT edit! +.TH qsize "1" "Apr 2018" "Gentoo Foundation" "qsize" .SH NAME qsize \- calculate size usage .SH SYNOPSIS .B qsize \fI[opts] \fR .SH DESCRIPTION - +\fIqsize\fR calculates the storage size taken by an installed package. +The reported sizes can be the recorded exact sizes of all files, or the +storage space they consume given the underlying filesystem. .SH OPTIONS .TP \fB\-f\fR, \fB\-\-filesystem\fR -Show size used on disk +Show size used on disk. .TP \fB\-s\fR, \fB\-\-sum\fR -Include a summary +Include a summary. .TP \fB\-S\fR, \fB\-\-sum\-only\fR -Show just the summary +Show just the summary. .TP \fB\-m\fR, \fB\-\-megabytes\fR -Display size in megabytes +Display all sizes in megabytes. .TP \fB\-k\fR, \fB\-\-kilobytes\fR -Display size in kilobytes +Display all sizes in kilobytes. .TP \fB\-b\fR, \fB\-\-bytes\fR -Display size in bytes +Display all sizes in bytes. .TP \fB\-i\fR \fI\fR, \fB\-\-ignore\fR \fI\fR -Ignore regexp string +Filter out entries matching \fI\fR, which is a regular +expression, before calculating size. .TP \fB\-\-root\fR \fI\fR -Set the ROOT env var +Set the ROOT env var. .TP \fB\-v\fR, \fB\-\-verbose\fR -Make a lot of noise +Ignored for compatibility with other qapplets. .TP \fB\-q\fR, \fB\-\-quiet\fR -Tighter output; suppress warnings +Ignored for compatibility with other qapplets. .TP \fB\-C\fR, \fB\-\-nocolor\fR -Don't output color +Don't output color. .TP \fB\-h\fR, \fB\-\-help\fR -Print this help and exit +Print this help and exit. .TP \fB\-V\fR, \fB\-\-version\fR -Print version and exit +Print version and exit. .SH "REPORTING BUGS" Please report bugs via http://bugs.gentoo.org/ .br -Product: Portage Development; Component: Tools +Product: Portage Development; Component: Tools, Assignee: +portage-utils@gentoo.org .SH AUTHORS .nf Ned Ludd diff --git a/qsize.c b/qsize.c index c485aa6..78b8f88 100644 --- a/qsize.c +++ b/qsize.c @@ -23,9 +23,9 @@ static const char * const qsize_opts_help[] = { "Show size used on disk", "Include a summary", "Show just the summary", - "Display size in megabytes", - "Display size in kilobytes", - "Display size in bytes", + "Display all sizes in megabytes", + "Display all sizes in kilobytes", + "Display all sizes in bytes", "Ignore regexp string", COMMON_OPTS_HELP };