From: Alexander Farber Subject: random(6): document -h option To: tech@openbsd.org Date: Tue, 6 Jan 2026 16:10:50 +0100 Hi! The -h option is implemented but not documented. ok? Index: random.c =================================================================== RCS file: /cvs/src/games/random/random.c,v retrieving revision 1.22 diff -u -r1.22 random.c --- random.c 18 Feb 2023 08:52:39 -0000 1.22 +++ random.c 6 Jan 2026 15:01:26 -0000 @@ -249,6 +249,6 @@ usage(void) { - (void)fprintf(stderr, "usage: %s [-er] [denominator]\n", getprogname()); + (void)fprintf(stderr, "usage: %s [-ehr] [denominator]\n", getprogname()); exit(1); } Index: random.6 =================================================================== RCS file: /cvs/src/games/random/random.6,v retrieving revision 1.8 diff -u -r1.8 random.6 --- random.6 23 Aug 2022 06:35:53 -0000 1.8 +++ random.6 6 Jan 2026 15:01:26 -0000 @@ -37,7 +37,7 @@ .Nd random lines from a file or random numbers .Sh SYNOPSIS .Nm random -.Op Fl er +.Op Fl ehr .Op Ar denominator .Sh DESCRIPTION .Nm @@ -59,6 +59,8 @@ exit value of 0 to the minimum of 255 and .Ar denominator \&- 1, inclusive. +.It Fl h +Display a usage message and exit. .It Fl r The .Fl r