~oriansj/M2-Mesoplanet

0dec40778b314da52b163ca2c709bd200725445a — Andrius Štikonas 1 year, 1 month ago 41775f0
Fix a missing long --operating-system argument.
1 files changed, 2 insertions(+), 2 deletions(-)

M cc.c
M cc.c => cc.c +2 -2
@@ 67,10 67,10 @@ void prechecks(int argc, char** argv)
			Architecture = hold;
			i += 2;
		}
		else if(match(argv[i], "--os"))
		else if(match(argv[i], "--os") || match(argv[i], "--operating-system"))
		{
			hold = argv[i+1];
			require(NULL != hold, "--os needs to be passed an operating system\n");
			require(NULL != hold, "--operating-system needs to be passed an operating system\n");
			OperatingSystem = hold;
			i += 2;
		}