Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/flashctl flashctl: use consistent markup in usage m...



details:   https://anonhg.NetBSD.org/src/rev/93e9d052d32c
branches:  trunk
changeset: 372970:93e9d052d32c
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jan 08 16:01:49 2023 +0000

description:
flashctl: use consistent markup in usage message

diffstat:

 usr.sbin/flashctl/flashctl.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (35 lines):

diff -r f2eab7521c5f -r 93e9d052d32c usr.sbin/flashctl/flashctl.c
--- a/usr.sbin/flashctl/flashctl.c      Sun Jan 08 15:55:25 2023 +0000
+++ b/usr.sbin/flashctl/flashctl.c      Sun Jan 08 16:01:49 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: flashctl.c,v 1.8 2023/01/08 15:55:25 rillig Exp $      */
+/*     $NetBSD: flashctl.c,v 1.9 2023/01/08 16:01:49 rillig Exp $      */
 
 /*-
  * Copyright (c) 2010 Department of Software Engineering,
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: flashctl.c,v 1.8 2023/01/08 15:55:25 rillig Exp $");
+__RCSID("$NetBSD: flashctl.c,v 1.9 2023/01/08 16:01:49 rillig Exp $");
 
 #include <sys/ioctl.h>
 #include <sys/flashio.h>
@@ -252,12 +252,12 @@
 void
 usage(void)
 {
-       fprintf(stderr, "usage: %s device identify\n",
+       fprintf(stderr, "usage: %s <device> identify\n",
            getprogname());
-       fprintf(stderr, "       %s device erase <start address> <size>|all\n",
+       fprintf(stderr, "       %s <device> erase <start address> <size>|all\n",
            getprogname());
-       fprintf(stderr, "       %s device badblocks\n",
+       fprintf(stderr, "       %s <device> badblocks\n",
            getprogname());
-       fprintf(stderr, "       %s device markbad <address>\n",
+       fprintf(stderr, "       %s <device> markbad <address>\n",
            getprogname());
 }



Home | Main Index | Thread Index | Old Index