Add a parameter to the command line if it doesn't already exist Returns `Action::Added` if the parameter did not already exist and was added. Returns `Action::Existed` if the exact parameter (same key and value) already exists. No modification was made. Unlike `add_or_modify`, this method will not modify existing parameters. If a parameter with the same key exists but has a different value, the
(&mut self, param: &Parameter)
| 169 | /// different value, the new parameter is still added, allowing |
| 170 | /// duplicate keys (e.g., multiple `console=` parameters). |
| 171 | pub fn add(&mut self, param: &Parameter) -> Action { |
| 172 | self.0.add(¶m.0) |
| 173 | } |
| 174 | |
| 175 | /// Add or modify a parameter to the command line |
| 176 | /// |
no outgoing calls
no test coverage detected