From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 9429 invoked from network); 4 Oct 2023 19:50:31 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 4 Oct 2023 19:50:31 -0000 Received: from pb-smtp21.pobox.com ([173.228.157.53]) by 9front; Wed Oct 4 15:47:04 -0400 2023 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 18F7E32505 for <9front@9front.org>; Wed, 4 Oct 2023 15:46:59 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :to:from:date:subject:mime-version:content-type :content-transfer-encoding; s=sasl; bh=QqAxnrX5456p2pUk2gw07JhJC +xdOxtSkI+ulQry9w4=; b=vmv/cczm01GTuMc5GNccHCG79UsE3VlCKM4iIHMFq fQkKut8yykehUQpMgxm9UuHJKIEwbGGAphv4s4W0CigVB8iuVZ8lguk6gkBhoBpY mjq3GmbCwAav4XJGjIFwUP/VKacdhy8aIFYC3eDA6TvAJwCtJCwqMe3/S9SX97fC io= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 117DD32504 for <9front@9front.org>; Wed, 4 Oct 2023 15:46:59 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from strider.localdomain (unknown [75.237.252.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 6C63332503 for <9front@9front.org>; Wed, 4 Oct 2023 15:46:54 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <662BF97D51F0CFA10684DCDB934FF259@smtp.pobox.com> To: 9front@9front.org From: Romano Date: Wed, 04 Oct 2023 19:45:55 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: C5311044-62EE-11EE-B9A2-A19503B9AAD1-09620299!pb-smtp21.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: extended anonymous CSS NoSQL firewall Subject: [9front] [PATCH] stats: match usage to man page, remove -O Reply-To: 9front@9front.org Precedence: bulk --- diff 27d0706296e55c0c5ec8d147d2d446928a609e70 01a98f25ecef2c291b67a92e39021a3173c59ce2 --- a/sys/man/8/stats +++ b/sys/man/8/stats @@ -30,7 +30,9 @@ The lower-case .I options -choose the initial set to display: +( and +.B "E +) choose the initial set to display: .TF [t]tlbpurge .TP .B "b battery @@ -119,7 +121,9 @@ If the value of the parameter is too large for the visible range, its value is shown in decimal in the upper left corner of the graph. .PP -Upper-case options control details of the display. +Upper-case options ( with the exception of +.B "E +) control details of the display. All graphs are affected; there is no mechanism to affect only one graph. .TP --- a/sys/src/cmd/stats.c +++ b/sys/src/cmd/stats.c @@ -970,7 +970,7 @@ void usage(void) { - fprint(2, "usage: stats [-O] [-S scale] [-LY] [-%s] [machine...]\n", argchars); + fprint(2, "usage: stats [-S scale] [-T sleepsecs] [-LY] [-%s] [machine...]\n", argchars); exits("usage"); } @@ -1306,8 +1306,6 @@ break; case 'Y': ylabels++; - break; - case 'O': break; default: if(nargs>=sizeof args || strchr(argchars, ARGC())==nil)