AG003: Invalid Field Specification
| Property | Value |
|---|---|
| Code | AG003 |
| Severity | Error |
| Since | v0.1.0 |
Description
The field spec string in the args=() array could not be parsed. This
usually means an unknown modifier, malformed syntax, or an invalid
combination of modifiers in the spec.
The diagnostic message includes the specific parse error for the spec.
Example
This triggers AG003:
How to Fix
Correct the field spec to use valid syntax. The general format is:
Valid modifiers include ! (required), + (multi-value), = (key-value),
:^ (inherited), :! (flags-only), among others.
See the Command Line Parser documentation for the full field spec syntax.
How to Suppress
Or file-wide:
Was this section helpful?