Run zig fmt

This commit is contained in:
Linus Groh 2024-01-04 22:56:55 +01:00 committed by Felix Queißner
parent 444f603812
commit 9cf8d73bdc
2 changed files with 22 additions and 24 deletions

View file

@ -1017,8 +1017,6 @@ pub fn printHelp(comptime Generic: type, name: []const u8, writer: anytype) !voi
try writer.print(fmtString, .{ field.name, @field(Generic.meta.option_docs, field.name) });
}
}
}
}
@ -1038,7 +1036,7 @@ test "full help" {
.option_docs = .{
.boolflag = "a boolean flag",
.stringflag = "a string flag",
}
},
};
};
@ -1075,7 +1073,7 @@ test "help with no usage summary" {
.option_docs = .{
.boolflag = "a boolean flag",
.stringflag = "a string flag",
}
},
};
};

View file

@ -35,7 +35,7 @@ pub fn main() !u8 {
.unsigned_number = "unsigned_number help",
.mode = "mode help",
.help = "help help",
}
},
};
};