We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a5714 commit a3df483Copy full SHA for a3df483
src/tools/jsondocck/src/config.rs
@@ -18,8 +18,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
18
if args.len() == 1 || args[1] == "-h" || args[1] == "--help" {
19
let message = format!("Usage: {} <doc-dir> <template>", argv0);
20
println!("{}", opts.usage(&message));
21
- println!();
22
- panic!()
+ std::process::exit(1);
23
}
24
25
let matches = opts.parse(args_).unwrap();
0 commit comments