feat: Add flag formats
This commit is contained in:
parent
47f29e70f4
commit
9e35eb8ff1
1 changed files with 6 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue