AG006: Usage Declared but :usage Never Called
| Property | Value |
|---|---|
| Code | AG006 |
| Severity | Error |
| Since | v0.1.0 |
Description
A function declares a usage=() array but never calls :usage to dispatch
subcommands. The array declaration has no effect without the parse call.
Example
This triggers AG006:
How to Fix
Add a call to :usage:
How to Suppress
Or file-wide:
Was this section helpful?