Registers multiple value-requiring options at once. Equivalent to calling [`add`](Self::add) for each element in the slice.
(&mut self, options: &[&str])
| 203 | /// |
| 204 | /// Equivalent to calling [`add`](Self::add) for each element in the slice. |
| 205 | pub fn add_all(&mut self, options: &[&str]) -> &mut Self { |
| 206 | for option in options { |
| 207 | self.add(option); |
| 208 | } |
| 209 | |
| 210 | self |
| 211 | } |
| 212 | |
| 213 | /// Registers a flag-style option that does not take a value. |
| 214 | /// |