buddylistgrapher
diff graph.cpp @ 2:6c327ae23d2c
added --help to shell edition
some cleanups
author | meillo@marmaro.de |
---|---|
date | Mon, 28 May 2007 20:03:27 +0200 |
parents | 8d8b41f7c0bc |
children |
line diff
1.1 --- a/graph.cpp Mon May 28 18:43:49 2007 +0200 1.2 +++ b/graph.cpp Mon May 28 20:03:27 2007 +0200 1.3 @@ -144,13 +144,16 @@ 1.4 int main(int argc, char **argv){ 1.5 if (argc == 2) { 1.6 if (strcmp(argv[1], "--version") == 0) { 1.7 - cout << "Buddylistgrapher 2.0" << endl; 1.8 - cout << "====================" << endl; 1.9 - cout << "by Julian Forster (and a little bit by Markus Schnalke)" << endl; 1.10 - cout << "http://progmaschine.de.vu" << endl; 1.11 + cout << "Buddylistgrapher (C++)" << endl; 1.12 + cout << "======================" << endl; 1.13 + cout << "version 2.0" << endl; 1.14 + cout << endl; 1.15 + cout << "by Julian Forster (http://progmaschine.de.vu)" << endl; 1.16 + cout << "and a little bit by Markus Schnalke (http://prog.marmaro.de)" << endl; 1.17 } else if (strcmp(argv[1], "--help") == 0) { 1.18 - cout << "Buddylistgrapher 2.0" << endl; 1.19 - cout << "====================" << endl; 1.20 + cout << "Buddylistgrapher" << endl; 1.21 + cout << "================" << endl; 1.22 + cout << endl; 1.23 cout << "usage: " << argv[0] << " <input.txt>" << endl; 1.24 cout << endl; 1.25 cout << "The grapher generates output to stdout." << endl;