9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] stats: match usage to man page, remove -O
@ 2023-10-04 19:45 Romano
  0 siblings, 0 replies; only message in thread
From: Romano @ 2023-10-04 19:45 UTC (permalink / raw)
  To: 9front

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-04 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-04 19:45 [9front] [PATCH] stats: match usage to man page, remove -O Romano

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