1.1 --- a/c++/parameter-lister/CLI.cpp Sun May 03 14:41:28 2015 +0200
1.2 +++ b/c++/parameter-lister/CLI.cpp Sun May 03 17:05:51 2015 +0200
1.3 @@ -11,7 +11,7 @@
1.4 int main(int argc, char* argv[]) {
1.5 terminalCodes::Modifier fgGreen(terminalCodes::FG_GREEN);
1.6 terminalCodes::Modifier fgReset(terminalCodes::FG_DEFAULT);
1.7 -
1.8 +
1.9 cout << "INFO: " << fgGreen << "Parameter lister" << fgReset << " is starting" << endl;
1.10
1.11 string command = argv[0];
1.12 @@ -26,6 +26,12 @@
1.13 });
1.14
1.15
1.16 + for (int i = 0; i < args.size(); i++) {
1.17 + string s = args[i];
1.18 + cout << i + 1 << ":" << s.length() << " = \"" << s << "\"" << endl;
1.19 + }
1.20 +
1.21 +
1.22
1.23
1.24 return 0;