]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
m4: Support long options.
authorDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 21 Jun 2023 20:58:40 +0000 (20:58 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 21 Jun 2023 20:59:03 +0000 (20:59 +0000)
commit47b32f8f93b46ce2c7fe3973c331a40096b529da
tree5db6d3dfb2d934af939e2d89484b7d1027fdef12
parent02b885b09d1e90574162a1442b9ede06cef2b13a
m4: Support long options.

The option names are identical to those of the equivalent options in GNU m4, except of course for --gnu which does not exist in GNU m4.

While here, make the argument to -d / --debug optional, with the same default behavior as in GNU m4, and document it properly.

Sponsored by: Klara, Inc.
Reviewed by: kevans, imp
Differential Revision: https://reviews.freebsd.org/D40694
usr.bin/m4/m4.1
usr.bin/m4/main.c