@@ -38,14 +38,15 @@ set with a simple and intuitive interface.
3838 - [ Option options] ( #option-options )
3939 - [ Validators] ( #validators )
4040 - [ Default Validators] ( #default-validators )
41- - [ Validatrs that may be disabled 🚧] ( #validatrs -that-may-be-disabled- )
41+ - [ Validators that may be disabled 🚧] ( #validators -that-may-be-disabled- )
4242 - [ Extra Validators 🚧] ( #extra-validators- )
43- - [ Validator Usage] ( #validator-usage )
44- - [ Transforming Validators] ( #transforming-validators )
45- - [ Validator operations] ( #validator-operations )
46- - [ Custom Validators] ( #custom-validators )
47- - [ Querying Validators] ( #querying-validators )
48- - [ Getting results] ( #getting-results )
43+ - [ permission. Requires C++17.] ( #permission-requires-c17 )
44+ - [ Validator Usage] ( #validator-usage )
45+ - [ Transforming Validators] ( #transforming-validators )
46+ - [ Validator operations] ( #validator-operations )
47+ - [ Custom Validators] ( #custom-validators )
48+ - [ Querying Validators] ( #querying-validators )
49+ - [ Getting results] ( #getting-results )
4950 - [ Subcommands] ( #subcommands )
5051 - [ Subcommand options] ( #subcommand-options )
5152 - [ Callbacks] ( #callbacks )
@@ -575,7 +576,9 @@ they can be disabled by using
575576
576577#### Default Validators
577578
578- These validators are always available regardless of definitions
579+ These validators are always available regardless of definitions. These are used
580+ internally or are very commonly used, so will always remain available regardless
581+ of flags.
579582
580583- `CLI::ExistingFile`: Requires that the file exists if given.
581584- `CLI::ExistingDirectory`: Requires that the directory exists.
@@ -590,11 +593,14 @@ These validators are always available regardless of definitions
590593- `CLI::NonNegativeNumber`: Requires the number be greater or equal to 0
591594- `CLI::Number`: Requires the input be a number.
592595
593- #### Validatrs that may be disabled 🚧
596+ #### Validators that may be disabled 🚧
594597
595598Validators that may be disabled by setting `CLI11_DISABLE_EXTRA_VALIDATORS` to 1
596599or enabled by setting `CLI11_ENABLE_EXTRA_VALIDATORS` to 1. By default they are
597- enabled.
600+ enabled. In version 3.0 these will likely move to be disabled by default and be
601+ controlled solely by the `CLI11_ENABLE_EXTRA_VALIDATORS` option. These
602+ validators are less commonly used or are template heavy and require additional
603+ computation time that may not be valuable for some use cases.
598604
599605- `CLI::IsMember(...)`: Require an option be a member of a given set. See
600606 [Transforming Validators](#transforming-validators) for more details.
@@ -627,6 +633,14 @@ enabled.
627633New validators will go into code sections that must be explicitly enabled by
628634setting `CLI11_ENABLE_EXTRA_VALIDATORS` to 1
629635
636+ - `CLI::ReadPermission`: Requires that the file or folder given exist and have
637+ read permission. Requires C++17.
638+ - `CLI::WritePermission`: Requires that the file or folder given exist and have
639+ write permission. Requires C++17.
640+ - `CLI::ExecPermission`: Requires that the file given exist and have execution
641+ permission. Requires C++17.
642+ -
643+
630644#### Validator Usage
631645
632646These Validators once enabled can be used by simply passing the name into the
0 commit comments