Skip to content
Myr

Update more of README with opt-in allowExcessArguments() (#2327)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by John Gee · committed by GitHub · parent 7dd9b68 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:Readme.md+2 added-2 removed
997 unmodified lines
998```9991000By default, the option processing shows an error for an unknown option. To have an unknown option treated as an ordinary command-argument and continue looking for options, use `.allowUnknownOption()`. This lets you mix known and unknown options.10011002By default, the argument processing does not display an error for more command-arguments than expected.1003To display an error for excess arguments, use`.allowExcessArguments(false)`.1002By default, the argument processing displays an error for more command-arguments than expected.1003To suppress the error for excess arguments, use`.allowExcessArguments()`.10041005### Legacy options as properties10061007Before Commander 7, the option values were stored as properties on the command.
142 unmodified lines