opt_version.c revision 1.2
11.2Srillig/* $NetBSD: opt_version.c,v 1.2 2021/10/28 20:31:17 rillig Exp $ */ 21.1Srillig/* $FreeBSD$ */ 31.1Srillig 41.1Srillig/* 51.1Srillig * Tests for the option '--version', which outputs the program version and 61.1Srillig * exits immediately. 71.1Srillig */ 81.1Srillig 91.1Srillig#indent input 101.1SrilligWhen the option '--version' is given, any other options are ignored. 111.1SrilligTherefore the source file, if given, can contain arbitrary text that 121.1Srilligeven might generate syntax errors when given to a C compiler. 131.1Srillig#indent end 141.1Srillig 151.1Srillig#indent run --version 161.2SrilligNetBSD indent 2.1 171.1Srillig#indent end 18