Let's start making help real.
This commit is contained in:
parent
e52d3c3915
commit
7c22a46b0d
2 changed files with 10 additions and 0 deletions
|
|
@ -39,6 +39,8 @@ pub fn Marker(comptime T: type) type {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub const help = @import("./help.zig");
|
||||||
|
|
||||||
/// <https://git.cutie.zone/lyssieth/zither/issues/1>
|
/// <https://git.cutie.zone/lyssieth/zither/issues/1>
|
||||||
pub fn parseArgs(comptime T: type, allocator: Allocator) !T {
|
pub fn parseArgs(comptime T: type, allocator: Allocator) !T {
|
||||||
const args = try std.process.argsAlloc(allocator);
|
const args = try std.process.argsAlloc(allocator);
|
||||||
|
|
|
||||||
8
src/args/help.zig
Normal file
8
src/args/help.zig
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn printHelp(comptime T: type, writer: std.io.AnyWriter) !void {
|
||||||
|
_ = T;
|
||||||
|
_ = writer;
|
||||||
|
|
||||||
|
return error.NotImplemented;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue