Returns `true` when an argument's value came from clap's built-in default (or was never supplied at all). When the predicate is `true`, the loader is free to replace the value with one read from the TOML config file.
(matches: &ArgMatches, id: &str)
| 523 | /// (or was never supplied at all). When the predicate is `true`, the loader |
| 524 | /// is free to replace the value with one read from the TOML config file. |
| 525 | fn arg_defaulted(matches: &ArgMatches, id: &str) -> bool { |
| 526 | matches!( |
| 527 | matches.value_source(id), |
| 528 | None | Some(ValueSource::DefaultValue) |
| 529 | ) |
| 530 | } |
| 531 | |
| 532 | /// Resolve the bind address for an auxiliary listener (health / metrics). |
| 533 | /// |
no outgoing calls
no test coverage detected