From: sobrado Date: Mon, 20 May 2024 19:16:48 +0000 (+0000) Subject: fix usage; Thomas Klausner will commit the same diff to NetBSD within the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=99d715838fce0934451d970ac535de2aa486724e;p=openbsd 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@ --- 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); }