From 058d4408cc13768b30cdaed6d4cfe8f113f15a86 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 1 Apr 2015 16:15:24 -0700 Subject: [PATCH] Linux: removed debug output from shell The command shell was spewing debug infor about the command and parameters. Removed the debug output. Signed-off-by: Mark Charlebois --- src/platforms/linux/main.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/platforms/linux/main.cpp b/src/platforms/linux/main.cpp index ae3c547bfd..f3b1ecc221 100644 --- a/src/platforms/linux/main.cpp +++ b/src/platforms/linux/main.cpp @@ -53,7 +53,6 @@ void run_cmd(const vector &appargs); void run_cmd(const vector &appargs) { // command is appargs[0] string command = appargs[0]; - cout << "appargs.size() = " << appargs.size() << endl; if (apps.find(command) != apps.end()) { const char *arg[appargs.size()+2]; @@ -63,7 +62,7 @@ void run_cmd(const vector &appargs) { ++i; } arg[i] = (char *)0; - cout << command << " " << i << endl; + //cout << command << " " << i << endl; apps[command](i,(char **)arg); } else @@ -77,12 +76,6 @@ static void process_line(string &line) vector appargs(5); stringstream(line) >> appargs[0] >> appargs[1] >> appargs[2] >> appargs[3] >> appargs[4]; - cout << "Command " << appargs[0] << endl; - unsigned int i = 1; - while ( i < appargs.size() && appargs[i] != "") { - cout << " appargs[" << i << "] = " << appargs[i] << endl; - ++i; - } run_cmd(appargs); }