Bugzilla – Bug 1972
CommandLine duplicate argument handling
Last modified: 2016-03-08 14:29:54 EST
Described in this thread. http://mailman.isi.edu/pipermail/ns-developers/2014-September/012228.html Either documentation patch or patch to prevent the problem. I would propose that a duplicate argument would trigger an NS_FATAL_ERROR(msg).
Created attachment 1875 [details] documentation to clarify the behavior with repeated argument
I pushed the documentation patch in changeset 10953:6751a4094ffd; do we want to leave this bug open for further work, or close it now?
Last call. Updated docs here: https://www.nsnam.org/docs/release/3.24/doxygen/classns3_1_1_command_line.html#details Note the verbiage beginning: "Arguments can be repeated on the command line; the last value given will be the final value used. For example,"