[Ns-bugs] [Bug 561] CommandLine based programs should exit with non-zero return if bad parameters are given
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon May 4 08:28:11 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=561
Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|CommandLine::PrintHelp |CommandLine based programs
|should exit with non-zero |should exit with non-zero
|return code |return if bad parameters are
| |given
--- Comment #2 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com> 2009-05-04 11:28:11 EDT ---
(In reply to comment #1)
> the problem is that this will return -1 even if the user calls --PrintHelp
OK, I need to describe the problem better. Re-titling.
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Ns-bugs
mailing list