git: 5db50a3167ac - main - rtsold: Further usage message updates

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Fri, 24 Jan 2025 14:36:04 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5db50a3167ac7a4f18088a5cfdaac64aa925c32e

commit 5db50a3167ac7a4f18088a5cfdaac64aa925c32e
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-01-24 14:06:59 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-24 14:06:59 +0000

    rtsold: Further usage message updates
    
    Add -u, remove -p from the rtsol(8) usage message.
    
    PR:             266634
    MFC after:      1 week
---
 usr.sbin/rtsold/rtsold.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index e0b168a379bf..63f20e3032a7 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -792,19 +792,19 @@ usage(const char *progname)
 {
 
 	if (strcmp(progname, "rtsold") == 0) {
-		fprintf(stderr, "usage: rtsold [-dDfFim1] [-O script-name] "
+		fprintf(stderr, "usage: rtsold [-dDfFimu1] [-O script-name] "
 		    "[-M script-name ] [-A script-name ] "
 		    "[-p pidfile] [-R script-name] interface ...\n");
-		fprintf(stderr, "usage: rtsold [-dDfFim1] [-O script-name] "
+		fprintf(stderr, "usage: rtsold [-dDfFimu1] [-O script-name] "
 		    "[-M script-name ] [-A script-name ] "
 		    "[-p pidfile] [-R script-name] -a\n");
 	} else {
-		fprintf(stderr, "usage: rtsol [-dDFi] [-O script-name] "
+		fprintf(stderr, "usage: rtsol [-dDFiu] [-O script-name] "
 		    "[-M script-name ] [-A script-name ] "
-		    "[-p pidfile] [-R script-name] interface ...\n");
-		fprintf(stderr, "usage: rtsol [-dDFi] [-O script-name] "
+		    "[-R script-name] interface ...\n");
+		fprintf(stderr, "usage: rtsol [-dDFiu] [-O script-name] "
 		    "[-M script-name ] [-A script-name ] "
-		    "[-p pidfile] [-R script-name] -a\n");
+		    "[-R script-name] -a\n");
 	}
 	exit(1);
 }