Skip to content

Commit 30119c5

Browse files
FIX make parse_options catch cprover_exceptiont and remove dead code
1 parent a161272 commit 30119c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/util/parse_options.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ int parse_options_baset::main()
7171

7272
return doit();
7373
}
74-
catch(invalid_user_input_exceptiont &e)
74+
catch(const cprover_exceptiont &e)
7575
{
7676
std::cerr << e.what() << "\n";
7777
return CPROVER_EXIT_USAGE_ERROR;
7878
}
79-
return CPROVER_EXIT_SUCCESS;
8079
}
8180

8281
std::string

0 commit comments

Comments
 (0)