Skip to content

Commit 72cfab5

Browse files
bors[bot]burrbull
andauthored
Merge #683
683: enable exit_on_error r=Emilgardis a=burrbull Fixes #681 `@newAM` Could you test it? Co-authored-by: Andrey Zgarbul <[email protected]>
2 parents 95a0953 + 83b2ec2 commit 72cfab5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
- fix cli error with --help/version
1011
- Don't cast fields with width 17-31 and non-zero offset.
1112

1213
## [v0.27.0] - 2022-10-24

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn parse_configs(app: Command) -> Result<Config> {
1818
use irx_config::parsers::{cmd, toml};
1919
use irx_config::ConfigBuilder;
2020
let irxconfig = ConfigBuilder::default()
21-
.append_parser(cmd::ParserBuilder::new(app).build()?)
21+
.append_parser(cmd::ParserBuilder::new(app).exit_on_error(true).build()?)
2222
.append_parser(
2323
toml::ParserBuilder::default()
2424
.default_path("svd2rust.toml")

0 commit comments

Comments
 (0)