diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2024-05-20 19:16:49 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2024-05-20 19:16:49 +0000 |
commit | ecc3f523940ff8b634c6bb89b8a836b7fed46449 (patch) | |
tree | a6e81ec45ad290e3bc4baf37bb8ffbcbae4f88af /usr.bin/fgen | |
parent | 082f0b3de350b0de7b4244c47ccdaae713c2050b (diff) |
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@
Diffstat (limited to 'usr.bin/fgen')
-rw-r--r-- | usr.bin/fgen/fgen.l | 6 |
1 files 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] <infile>\n", - getprogname()); + (void)fprintf(stderr, "usage: %s [-d level] [-o outfile] infile\n", + getprogname()); exit(EXIT_FAILURE); } |