Registers multiple flag-style options that do not take a value. Equivalent to calling [`add_valueless`](Self::add_valueless) for each element in the slice.
(&mut self, options: &[&str])
| 231 | /// Equivalent to calling [`add_valueless`](Self::add_valueless) for each |
| 232 | /// element in the slice. |
| 233 | pub fn add_all_valueless(&mut self, options: &[&str]) -> &mut Self { |
| 234 | for option in options { |
| 235 | self.add_valueless(option); |
| 236 | } |
| 237 | self |
| 238 | } |
| 239 | |
| 240 | /// Returns the raw string value of an option, or `None` if the option was |
| 241 | /// not set or if its value is an empty string (e.g. `key=`). |