Subversion Repositories svn1

Rev

Rev 386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 386 Rev 388
Line 84... Line 84...
84
        argv++;
84
        argv++;
85
        if( argv[0][0] == '-' )
85
        if( argv[0][0] == '-' )
86
        {
86
        {
87
            switch( argv[0][1] )
87
            switch( argv[0][1] )
88
            {
88
            {
-
 
89
            case 'h':
89
                /*
90
                /*
90
                **  Unknown switch
91
                **  Unknown switch
91
                */
92
                */
92
              default:
93
              default:
93
                usage();
94
                usage();
Line 134... Line 135...
134
 *      
135
 *      
135
 *===========================================================================*/
136
 *===========================================================================*/
136
 
137
 
137
void usage(void)
138
void usage(void)
138
{
139
{
139
    QMessageBox::question ( 0, "Usage",
140
    QMessageBox ( QMessageBox::Question,
-
 
141
                  "Usage",
140
                           "mara [options] config_file\n"
142
                  "mara [options] config_file\n"
141
                           "Options are:\n"
143
                  "Options are:\n"
142
                           "    No options yet",
144
                  " -h : This message\n"
143
                           QMessageBox::Ok
145
                  "    No options yet"
144
                           );
146
                ).exec();
145
    exit( 3 );
147
    exit( 3 );
146
}
148
}
147
 
149
 
148
 
150
 
149
 
151