1.1 --- a/main.cpp Fri Apr 09 14:24:04 2010 +0000
1.2 +++ b/main.cpp Wed Jun 09 13:14:08 2010 +0000
1.3 @@ -79,7 +79,6 @@
1.4 options.add ("run", Option::String, "r", "run");
1.5 options.add ("shortcuts", Option::Switch, "s", "shortcuts");
1.6 options.add ("shortcutsLaTeX", Option::Switch, "sl", "shortcutsLaTeX");
1.7 - options.add ("test", Option::String, "t", "test");
1.8 options.add ("version", Option::Switch, "v","version");
1.9 options.setHelpText (
1.10 "VYM - View Your Mind\n"
1.11 @@ -87,7 +86,19 @@
1.12 "Information about vym can be found in vym.pdf,\n"
1.13 "which should be part of the vym package.\n"
1.14 "It is also available at the project homepage:\n\n"
1.15 - "http://www.InSilmaril.de/vym\n");
1.16 + "http://www.InSilmaril.de/vym\n\n"
1.17 + "Usage: vym [OPTION]... [FILE]... \n"
1.18 + "Open FILEs with vym\n\n"
1.19 + "-d debug Show debugging output\n"
1.20 + "-h help Show this help text\n"
1.21 + "-l local Run with ressources in current directory\n"
1.22 + "-n STRING name Set name of instance for DBus access\n"
1.23 + "-q quit Quit immediatly after start for benchmarking\n"
1.24 + "-r FILE run Run script\n"
1.25 + "-s shortcuts Show Keyboard shortcuts on start\n"
1.26 + "-sl LaTeX Show Keyboard shortcuts in LaTeX format on start\n"
1.27 + "-v version Show vym version\n"
1.28 + );
1.29 if (options.parse())
1.30 {
1.31 cout << endl << qPrintable( options.getHelpText())<<endl;
1.32 @@ -98,7 +109,7 @@
1.33
1.34 if (options.isOn ("version"))
1.35 {
1.36 - cout << "VYM - View Your Mind (c) 2004-2009 Uwe Drechsel " << endl
1.37 + cout << "VYM - View Your Mind (c) 2004-2010 Uwe Drechsel " << endl
1.38 <<" Version: "<<__VYM_VERSION <<endl
1.39 <<"Build date: "<<__VYM_BUILD_DATE << endl
1.40 <<" "<<__VYM_CODENAME<<endl;