From 9dcef5f60e5aa6c3e1900a2e4e41d2851c9f19df Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 22 Jun 2021 14:52:33 +0000 Subject: [PATCH] reduce verbosity of usage(), making it match SYNOPSIS; ok kettenis --- usr.sbin/mkuboot/mkuboot.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/usr.sbin/mkuboot/mkuboot.c b/usr.sbin/mkuboot/mkuboot.c index abb34d030a5..8d3adeb26ad 100644 --- a/usr.sbin/mkuboot/mkuboot.c +++ b/usr.sbin/mkuboot/mkuboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkuboot.c,v 1.10 2021/06/01 02:59:01 jsg Exp $ */ +/* $OpenBSD: mkuboot.c,v 1.11 2021/06/22 14:52:33 jmc Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -395,16 +395,6 @@ usage(void) (void)fprintf(stderr, "usage: %s [-a arch] [-e entry] [-l loadaddr] [-n name] [-o os] " "[-t type] infile outfile\n", __progname); - (void)fprintf(stderr, - "arch is one of:"); - for (mapptr = archmap; mapptr->arch; mapptr++) - (void)fprintf(stderr, " %s", mapptr->arch); - (void)fprintf(stderr, "\n"); - (void)fprintf(stderr, - "os is one of:"); - for (osmapptr = osmap; osmapptr->arch; osmapptr++) - (void)fprintf(stderr, " %s", osmapptr->arch); - (void)fprintf(stderr, "\n"); exit(1); } -- 2.20.1