summaryrefslogtreecommitdiffstats
path: root/Source/cmw9xcom.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmw9xcom.cxx')
-rw-r--r--Source/cmw9xcom.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmw9xcom.cxx b/Source/cmw9xcom.cxx
index 7ea9409..bf32430 100644
--- a/Source/cmw9xcom.cxx
+++ b/Source/cmw9xcom.cxx
@@ -25,10 +25,11 @@ int main (int argc, char *argv[])
std::cerr << "Usage: " << argv[0] << " executable" << std::endl;
return 1;
}
- std::string command;
+ std::string command = argv[1];
int cc;
- for ( cc = 1; cc < argc; cc ++ )
+ for ( cc = 2; cc < argc; cc ++ )
{
+ command += " ";
command += argv[cc];
}