Skip to content

Commit e208232

Browse files
committed
make debug_prints configurable
1 parent 854d70d commit e208232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbc-codegen-cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fn main() {
5151
let config = Config::builder()
5252
.dbc_name(&dbc_file_name)
5353
.dbc_content(&dbc_file)
54-
.debug_prints(true)
54+
.debug_prints(args.debug)
5555
.build();
5656

5757
dbc_codegen::codegen(config, &mut messages_code).unwrap_or_else(|e| {

0 commit comments

Comments
 (0)