From 850269cbbcf3b4cf69584f137958ca2ba35d01a3 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 6 Apr 2018 00:30:56 +0200 Subject: [PATCH] stdout on --msg --- commandline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commandline.cpp b/commandline.cpp index 899b93ae..693bbe8c 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -85,7 +85,7 @@ namespace arg { } } - + int arg::readCommon() { if(argis("-c")) { PHASE(1); shift(); conffile = argcs(); } else if(argis("-s")) { PHASE(1); shift(); scorefile = argcs(); } @@ -444,6 +444,7 @@ else if(args()[0] == '-' && args()[1] == x && args()[2] == '0') { showstartmenu } else if(argis("--msg")) { shift(); addMessage(args()); + printf("%s\n", args().c_str()); } else if(argis("--msg0")) { clearMessages();