~mcf/samurai

ca5a6ba69fefe3fa23850e5730f41851abc56ec2 — Michael Forney 3 months ago aff2085
Add micro version number to --version output

Some projects, such as qtwebengine, parse the output of --version,
and are tripped up by a version string with only two components.
1 files changed, 1 insertions(+), 1 deletions(-)

M samu.c
M samu.c => samu.c +1 -1
@@ 133,7 133,7 @@ main(int argc, char *argv[])
	case '-':
		arg = EARGF(usage());
		if (strcmp(arg, "version") == 0) {
			printf("%d.%d\n", ninjamajor, ninjaminor);
			printf("%d.%d.0\n", ninjamajor, ninjaminor);
			return 0;
		} else if (strcmp(arg, "verbose") == 0) {
			buildopts.verbose = true;