From 99d715838fce0934451d970ac535de2aa486724e Mon Sep 17 00:00:00 2001 From: sobrado Date: Mon, 20 May 2024 19:16:48 +0000 Subject: [PATCH] fix usage; Thomas Klausner will commit the same diff to NetBSD within the next hours, so our trees will remain as similar as possible. ok jmc@ --- usr.bin/fgen/fgen.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/fgen/fgen.l b/usr.bin/fgen/fgen.l index 994cf6db276..00441ed69c7 100644 --- a/usr.bin/fgen/fgen.l +++ b/usr.bin/fgen/fgen.l @@ -1,5 +1,5 @@ %{ -/* $OpenBSD: fgen.l,v 1.17 2024/02/14 02:40:02 jsg Exp $ */ +/* $OpenBSD: fgen.l,v 1.18 2024/05/20 19:16:48 sobrado Exp $ */ /* $NetBSD: fgen.l,v 1.37 2016/03/08 20:13:44 christos Exp $ */ /* FLEX input for FORTH input file scanner */ /* @@ -1007,8 +1007,8 @@ apply_macros(YY_BUFFER_STATE yinput, const char *str) static void usage(void) { - (void)fprintf(stderr, "%s: [-d level] [-o outfile] \n", - getprogname()); + (void)fprintf(stderr, "usage: %s [-d level] [-o outfile] infile\n", + getprogname()); exit(EXIT_FAILURE); } -- 2.20.1