start to add some more serious description and fixing a minor bug in the resource file.

This commit is contained in:
2010-03-09 19:47:05 +00:00
parent 901f12b5c5
commit f51b136df4
3 changed files with 20 additions and 3 deletions

View File

@@ -37,17 +37,25 @@ using namespace std;
#include "PTextEdit.h"
#include "PFitOutputHandler.h"
/**
* <p>musredit is a simple editor based interface to the musrfit programs. It is based on Qt 4.6
* of Nokia (<code>http://qt.nokia.com</code>).
*
* <p>musredit is open source LGPL and GPL (for detail license informations see <code>http://qt.nokia.com/products/licensing</code>).
*
* <p>The source code can be downloaded from <code>http://savannah.psi.ch/viewcvs/trunk/analysis/musrfit/src/musredit/?root=nemu%2Flem</code>.
*/
int main( int argc, char ** argv )
{
Q_INIT_RESOURCE(musredit);
if (argc == 2) {
if (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) {
cout << endl << "usage: musrgui [<msr-files>] | -h, --help | -v, --version";
cout << endl << "usage: musredit [<msr-files>] | -h, --help | -v, --version";
cout << endl << endl;
return 0;
} else if (!strcmp(argv[1], "--version") || !strcmp(argv[1], "-v")) {
cout << endl << "musrgui version: $Id$";
cout << endl << "musredit version: $Id$";
cout << endl << endl;
return 0;
}