Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: sync usage message with reality
details: https://anonhg.NetBSD.org/src/rev/f25c7b2798ea
branches: trunk
changeset: 1022985:f25c7b2798ea
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Aug 17 21:19:02 2021 +0000
description:
lint: sync usage message with reality
diffstat:
usr.bin/xlint/lint1/main1.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 1bc026bde381 -r f25c7b2798ea usr.bin/xlint/lint1/main1.c
--- a/usr.bin/xlint/lint1/main1.c Tue Aug 17 21:05:34 2021 +0000
+++ b/usr.bin/xlint/lint1/main1.c Tue Aug 17 21:19:02 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main1.c,v 1.54 2021/08/17 21:05:34 rillig Exp $ */
+/* $NetBSD: main1.c,v 1.55 2021/08/17 21:19:02 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: main1.c,v 1.54 2021/08/17 21:05:34 rillig Exp $");
+__RCSID("$NetBSD: main1.c,v 1.55 2021/08/17 21:19:02 rillig Exp $");
#endif
#include <sys/types.h>
@@ -290,9 +290,9 @@
usage(void)
{
(void)fprintf(stderr,
- "usage: %s [-abcdeghmprstuvwyzFST] [-Ac11] [-X <id>[,<id>]... "
- "src dest\n",
- getprogname());
+ "usage: %s [-abceghmprstuvwyzFPST] [-Ac11] [-R old=new]\n"
+ " %*s [-X <id>[,<id>]...] src dest\n",
+ getprogname(), (int)strlen(getprogname()), "");
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index