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:
Alex Lin 2016-04-26 15:57:33 -05:00
parent 83d96b4bcc
commit c307668fef

View File

@ -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 ;
}