Expand description
What a parse has to say about declarations that still work but should not be used.
The reference implementation’s half of what usage-argv reports from its static tables. Both
answer the same question — which deprecated declarations did this command line use — and the
rule they answer it by is written down at https://usage.jdx.dev/spec/argv, not in either
crate. Neither can depend on the other: usage-argv has no dependencies at all, on purpose.
Nothing here prints. A resolution reports, as configuration resolution does, so a CLI that queues its deprecations until its logging is up can have them as values.
Structs§
- Warning
- One thing a command line used that its own spec says not to use any more.
Enums§
- Warning
Kind - The kinds of deprecation a parse can run into.
Functions§
- compare
- Order two versions, or
Noneif either is not a version this can read. - render
- Everything, one line each, in the order they were collected.
- retain_
reached - Drop the warnings a CLI at
versionhas not reached yet. - version_
reaches - Whether a CLI at
currenthas reached the release a deprecation starts warning at.