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


Ignore:
Timestamp:
Jan 9, 2019, 1:58:48 PM (6 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.