Skip to content

Commit

Permalink
corrected error in reading cmd line
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmatthews committed Jan 12, 2016
1 parent 3eca6c3 commit ce269f5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,15 @@ int parse_command_line(argc, argv)
else if (strcmp (argv[i], "-d") == 0)
{
modes.iadvanced = 1;
i++;
}
else if (strcmp (argv[i], "-f") == 0)
{
modes.fixed_temp = 1;
i++;
}
else if (strcmp (argv[i], "-z") == 0)
{
modes.zeus_connect = 1;
Log ("setting zeus_connect to %i\n",modes.zeus_connect);
i++;
Log ("setting zeus_connect to %i\n",modes.zeus_connect);
}

else if (strcmp (argv[i], "-i") == 0)
Expand Down

0 comments on commit ce269f5

Please sign in to comment.