9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Romano <unobe@cpan.org>
To: 9front@9front.org
Subject: [9front] [PATCH] stats: match usage to man page, remove -O
Date: Wed, 04 Oct 2023 19:45:55 +0000	[thread overview]
Message-ID: <662BF97D51F0CFA10684DCDB934FF259@smtp.pobox.com> (raw)

---
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)


                 reply	other threads:[~2023-10-04 19:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=662BF97D51F0CFA10684DCDB934FF259@smtp.pobox.com \
    --to=unobe@cpan.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).