AG009: Duplicate Short Alias
| Property | Value |
|---|---|
| Code | AG009 |
| Severity | Warning |
| Since | v0.1.0 |
Description
Two or more entries in the same args=() array use the same single-character
short alias. Only one will work at parse time.
The duplicate check is suppressed when both entries share the same field name
and the :^ (inherited) modifier is involved, since the inherited field
intentionally overrides the parent's definition.
Example
This triggers AG009:
How to Fix
Use unique short aliases for each flag:
How to Suppress
Or file-wide:
Was this section helpful?