Commit b21f2e1bbe98bfb649f8d15cea10ec43a265caa8

Authored by Henry Schreiner
Committed by GitHub
1 parent 105399a6

fix: left table column too long (#504)

Showing 1 changed file with 1 additions and 1 deletions
book/chapters/options.md
... ... @@ -128,7 +128,7 @@ When you call `add_option`, you get a pointer to the added option. You can use t
128 128 | `->allow_extra_args()` | Allow extra argument values to be included when an option is passed. Enabled by default for vector options. |
129 129 | `->disable_flag_override()` | specify that flag options cannot be overridden on the command line use `=<newval>` |
130 130 | `->delimiter('<CH>')` | specify a character that can be used to separate elements in a command line argument, default is <none>, common values are ',', and ';' |
131   -| `->multi_option_policy(CLI::MultiOptionPolicy::Throw)` | Sets the policy for handling multiple arguments if the option was received on the command line several times. `Throw`ing an error is the default, but `TakeLast`, `TakeFirst`, `TakeAll`, and `Join` are also available. See the next four lines for shortcuts to set this more easily. |
  131 +| `->multi_option_policy( CLI::MultiOptionPolicy::Throw)` | Sets the policy for handling multiple arguments if the option was received on the command line several times. `Throw`ing an error is the default, but `TakeLast`, `TakeFirst`, `TakeAll`, and `Join` are also available. See the next four lines for shortcuts to set this more easily. |
132 132 | `->take_last()` | Only use the last option if passed several times. This is always true by default for bool options, regardless of the app default, but can be set to false explicitly with `->multi_option_policy()`. |
133 133 | `->take_first()` | sets `->multi_option_policy(CLI::MultiOptionPolicy::TakeFirst)` |
134 134 | `->take_all()` | sets `->multi_option_policy(CLI::MultiOptionPolicy::TakeAll)` |
... ...