Skip to content

Commit 5d547e4

Browse files
author
Pascal Hertleif
authored
Merge pull request #77 from hyg-taylor/debug-prints
Make dbc-codegen-cli less verbose when the --debug flag is missing
2 parents 854d70d + e208232 commit 5d547e4

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)