Mercurial > 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 wrap: on
line diff
--- a/graph.cpp Mon May 28 18:43:49 2007 +0200 +++ b/graph.cpp Mon May 28 20:03:27 2007 +0200 @@ -144,13 +144,16 @@ int main(int argc, char **argv){ if (argc == 2) { if (strcmp(argv[1], "--version") == 0) { - cout << "Buddylistgrapher 2.0" << endl; - cout << "====================" << endl; - cout << "by Julian Forster (and a little bit by Markus Schnalke)" << endl; - cout << "http://progmaschine.de.vu" << endl; + cout << "Buddylistgrapher (C++)" << endl; + cout << "======================" << endl; + cout << "version 2.0" << endl; + cout << endl; + cout << "by Julian Forster (http://progmaschine.de.vu)" << endl; + cout << "and a little bit by Markus Schnalke (http://prog.marmaro.de)" << endl; } else if (strcmp(argv[1], "--help") == 0) { - cout << "Buddylistgrapher 2.0" << endl; - cout << "====================" << endl; + cout << "Buddylistgrapher" << endl; + cout << "================" << endl; + cout << endl; cout << "usage: " << argv[0] << " <input.txt>" << endl; cout << endl; cout << "The grapher generates output to stdout." << endl;