mirror of
https://github.com/MasterQ32/zig-args.git
synced 2024-05-05 15:11:09 +02:00
Exports Options from ParseResult, adds ZPM file.
This commit is contained in:
parent
139c759a30
commit
40e31873fc
3
args.zig
3
args.zig
|
@ -155,6 +155,9 @@ pub fn ParseArgsResult(comptime Spec: type) type {
|
||||||
return struct {
|
return struct {
|
||||||
const Self = @This();
|
const Self = @This();
|
||||||
|
|
||||||
|
/// Exports the type of options.
|
||||||
|
pub const Options = Spec;
|
||||||
|
|
||||||
arena: std.heap.ArenaAllocator,
|
arena: std.heap.ArenaAllocator,
|
||||||
|
|
||||||
/// The options with either default or set values.
|
/// The options with either default or set values.
|
||||||
|
|
Loading…
Reference in a new issue