opt_version.c revision 1.3
1/* $NetBSD: opt_version.c,v 1.3 2022/04/22 21:21:20 rillig Exp $ */ 2 3/* 4 * Tests for the option '--version', which outputs the program version and 5 * exits immediately. 6 */ 7 8#indent input 9When the option '--version' is given, any other options are ignored. 10Therefore the source file, if given, can contain arbitrary text that 11even might generate syntax errors when given to a C compiler. 12#indent end 13 14#indent run --version 15NetBSD indent 2.1 16#indent end 17