mirror of
https://github.com/nasa/trick.git
synced 2025-02-20 01:06:17 +00:00
All command line arguments that start with "-d" being matched by input processor.
Changed the string compare to match the whole argument to "-d". refs #230
This commit is contained in:
parent
83d96b4bcc
commit
c307668fef
@ -42,7 +42,7 @@ int Trick::InputProcessor::process_sim_args() {
|
||||
* If there are more than 2 calling arguments
|
||||
*/
|
||||
|
||||
if (!strncmp("-d", argv[i], (size_t) 2)) {
|
||||
if (!strcmp("-d", argv[i])) {
|
||||
/* Set the 'input verification only' and echo input flags */
|
||||
verify_input = 1 ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user