@@ -60,7 +60,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
60
60
. optopt ( "" , "rust-demangler-path" , "path to rust-demangler to use in tests" , "PATH" )
61
61
. reqopt ( "" , "lldb-python" , "path to python to use for doc tests" , "PATH" )
62
62
. reqopt ( "" , "docck-python" , "path to python to use for doc tests" , "PATH" )
63
- . reqopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
63
+ . optopt ( "" , "jsondocck-path" , "path to jsondocck to use for doc tests" , "PATH" )
64
64
. optopt ( "" , "valgrind-path" , "path to Valgrind executable for Valgrind tests" , "PROGRAM" )
65
65
. optflag ( "" , "force-valgrind" , "fail if Valgrind tests cannot be run under Valgrind" )
66
66
. optopt ( "" , "run-clang-based-tests-with" , "path to Clang executable" , "PATH" )
@@ -208,7 +208,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
208
208
rust_demangler_path : matches. opt_str ( "rust-demangler-path" ) . map ( PathBuf :: from) ,
209
209
lldb_python : matches. opt_str ( "lldb-python" ) . unwrap ( ) ,
210
210
docck_python : matches. opt_str ( "docck-python" ) . unwrap ( ) ,
211
- jsondocck_path : matches. opt_str ( "jsondocck-path" ) . unwrap ( ) ,
211
+ jsondocck_path : matches. opt_str ( "jsondocck-path" ) ,
212
212
valgrind_path : matches. opt_str ( "valgrind-path" ) ,
213
213
force_valgrind : matches. opt_present ( "force-valgrind" ) ,
214
214
run_clang_based_tests_with : matches. opt_str ( "run-clang-based-tests-with" ) ,
0 commit comments