feat: Add flag formats

This commit is contained in:
Joe Mckay 2024-10-14 18:02:31 +01:00 committed by CJ van den Berg
parent 47f29e70f4
commit 9e35eb8ff1
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -66,6 +66,12 @@ pub fn main() anyerror!void {
.version = "Show build version and exit.",
};
pub const formats = .{
.frame_rate = "num",
.trace_level = "num",
.exec = "cmds"
};
pub const switches = .{
.frame_rate = 'f',
.trace_level = 't',