Bugzilla – Bug 1178
In core, CommandLine::HandleArgument function called exit
Last modified: 2011-07-06 19:08:06 UTC
I believe we should not call exit() in an libraries. This function should only return an error code to the caller, but not exit rude.
I understand the rationale behind this bug report but the code was purposedly made to do this to save the user from having to type extra checking code (which no user would ever write anyway). You might also consider the fact that ns-3 does a lot of checks that end up as fatal assertions at runtime for errors which could be recoverable but which we decided to not recover from to simplify the code and to help users catch their errors early.