Changeset 291 in flair-src for trunk/demos/SimpleFleet/simulator/src


Ignore:
Timestamp:
01/09/19 13:58:48 (4 years ago)
Author:
Sanahuja Guillaume
Message:

add exit failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/SimpleFleet/simulator/src/main.cpp

    r158 r291  
    7777
    7878
    79         } catch (ArgException &e)  // catch any exceptions
    80         { cerr << "error: " << e.error() << " for arg " << e.argId() << endl; }
     79        } catch (ArgException &e) {
     80        cerr << "error: " << e.error() << " for arg " << e.argId() << endl;
     81        exit(EXIT_FAILURE);
     82    }
    8183}
    8284
Note: See TracChangeset for help on using the changeset viewer.