Searched refs:takes_value (Results 1 – 3 of 3) sorted by relevance
68 .takes_value(true) in main()83 .takes_value(true) in main()99 .takes_value(true) in main()
351 if option.takes_value():678 takes_value = (self.action in self.STORE_ACTIONS or680 if self.dest is None and takes_value:749 def takes_value(self): member in Option1482 if option.takes_value():1514 if option.takes_value():
288 - `Arg::takes_value(true)`435 .arg(Arg::new("option").long("option").takes_value(true)) # --option <option>442 In particular, `num_args` (the replacement for `takes_value`) will default appropriately485 - `num_args(0)` no longer implies `takes_value(true).multiple_values(true)` (#4023)492 - Replace `Arg::takes_value(true)` with `Arg::num_args(1)` and `Arg::takes_value(false)` with `Arg:…761 - `ArgAction::StoreValue`: existing `takes_value(true)` behavior762 - `ArgAction::IncOccurrences`: existing `takes_value(false)` behavior1248 - Reject `--foo=bar` when `takes_value(false)` ([clap-rs/clap#1543](https://github.com/clap-rs/clap…4008 * **tests** add missing .takes_value(true) to option2 ([bdb0e88f](https://github.com/clap-rs/clap/…