Skip to content

Commit accce8a

Browse files
authored
fix(iroh-cli)!: Improve cli and configuration file (#2532)
## Description The configuration file behaviour is improved: - Unknown fields will now cause an error rather than be silently ignored. - Make it possible to express GcPolicy in the TOML config file. This was not possible before. It was possible to disable it before, but it was disabled by default so that was rather moot. The --help output is improved: - Update header of iroh. - Directly point to config file docs. - Use consistent style. <!-- A summary of what this pull request achieves and a rough list of changes. --> ## Breaking Changes - Unknown fields in the configuration file will now cause an error. - Configuring the GC Policy in the configuration file has changed. <!-- Optional, if there are any breaking changes document them, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the --> <!-- PR. --> ## Change checklist - [ ] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented.
1 parent 1b18383 commit accce8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)