Module Name: src Committed By: rillig Date: Tue Jan 12 21:48:10 UTC 2021
Modified Files: src/usr.bin/xlint/lint1: main1.c src/usr.bin/xlint/lint2: main2.c Log Message: lint: update usage for lint1 and lint2 (Forgotten in the previous commit.) To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/xlint/lint1/main1.c cvs rdiff -u -r1.11 -r1.12 src/usr.bin/xlint/lint2/main2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/xlint/lint1/main1.c diff -u src/usr.bin/xlint/lint1/main1.c:1.34 src/usr.bin/xlint/lint1/main1.c:1.35 --- src/usr.bin/xlint/lint1/main1.c:1.34 Tue Jan 12 20:42:01 2021 +++ src/usr.bin/xlint/lint1/main1.c Tue Jan 12 21:48:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: main1.c,v 1.34 2021/01/12 20:42:01 rillig Exp $ */ +/* $NetBSD: main1.c,v 1.35 2021/01/12 21:48:10 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.34 2021/01/12 20:42:01 rillig Exp $"); +__RCSID("$NetBSD: main1.c,v 1.35 2021/01/12 21:48:10 rillig Exp $"); #endif #include <sys/types.h> @@ -283,7 +283,7 @@ static void usage(void) { (void)fprintf(stderr, - "Usage: %s [-abcdeghmprstuvwyzFS] [-X <id>[,<id>]... src dest\n", + "Usage: %s [-abcdeghmprstuvwyzFST] [-X <id>[,<id>]... src dest\n", getprogname()); exit(1); } Index: src/usr.bin/xlint/lint2/main2.c diff -u src/usr.bin/xlint/lint2/main2.c:1.11 src/usr.bin/xlint/lint2/main2.c:1.12 --- src/usr.bin/xlint/lint2/main2.c:1.11 Tue Jan 12 20:42:01 2021 +++ src/usr.bin/xlint/lint2/main2.c Tue Jan 12 21:48:10 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: main2.c,v 1.11 2021/01/12 20:42:01 rillig Exp $ */ +/* $NetBSD: main2.c,v 1.12 2021/01/12 21:48:10 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl @@ -37,7 +37,7 @@ #include <sys/cdefs.h> #if defined(__RCSID) && !defined(lint) -__RCSID("$NetBSD: main2.c,v 1.11 2021/01/12 20:42:01 rillig Exp $"); +__RCSID("$NetBSD: main2.c,v 1.12 2021/01/12 21:48:10 rillig Exp $"); #endif #include <stdio.h> @@ -191,6 +191,6 @@ static void usage(void) { (void)fprintf(stderr, - "usage: lint2 -hpstxuHF -Clib -l lib ... src1 ...\n"); + "usage: lint2 -hpstxuHFT -Clib -l lib ... src1 ...\n"); exit(1); }