cli: Warn user about implicit seeding policy

To prepare for future changes, warn users if their config file currently
does not explicitly specify a default seeding policy.

Because there are now potentially multiple warnings generated that all
relate to the configuration file, group these together and adjust the
wording to be more uniform.
This commit is contained in:
Adrian Duke
2026-02-16 21:39:11 +01:00
committed by Lorenz Leutgeb
parent cee3659ed5
commit 832598ceb7
6 changed files with 68 additions and 14 deletions
@@ -257,7 +257,7 @@ pub fn connect_many(
}
pub fn status(node: &Node, profile: &Profile) -> anyhow::Result<()> {
for warning in crate::warning::nodes_renamed(&profile.config) {
for warning in crate::warning::config_warnings(&profile.config) {
term::warning(warning);
}