flags: Rename varg to overflow, let it be renamed with config

This commit is contained in:
Feoramund
2025-06-09 13:02:05 -04:00
parent 2e199c669f
commit 6dee422700
9 changed files with 66 additions and 62 deletions
+5 -1
View File
@@ -22,10 +22,14 @@ The format is similar to the Odin binary's way of handling compiler flags.
Unhandled Arguments:
All unhandled positional arguments are placed into the `varg` field on a
All unhandled positional arguments are placed into the `overflow` field on a
struct, if it exists. In UNIX-style parsing, the existence of a `--` on the
command line will also pass all arguments afterwards into this field.
If desired, the name of the field may be changed from `overflow` to any string
by setting the `ODIN_CORE_FLAGS_OVERFLOW_FLAG` compile-time config option with
`-define:ODIN_CORE_FLAGS_OVERFLOW_FLAG=<name>`.
Struct Tags: