forked from mirror/vulkan-zig
zig fmt **.zig
This commit is contained in:
@@ -32,7 +32,7 @@ pub fn main() !void {
|
||||
\\
|
||||
\\
|
||||
++ usage,
|
||||
.{ prog_name },
|
||||
.{prog_name},
|
||||
);
|
||||
return;
|
||||
} else if (maybe_xml_path == null) {
|
||||
@@ -40,17 +40,17 @@ pub fn main() !void {
|
||||
} else if (maybe_out_path == null) {
|
||||
maybe_out_path = arg;
|
||||
} else {
|
||||
try stderr.writer().print("Error: Superficial argument '{s}'\n", .{ arg });
|
||||
try stderr.writer().print("Error: Superficial argument '{s}'\n", .{arg});
|
||||
}
|
||||
}
|
||||
|
||||
const xml_path = maybe_xml_path orelse {
|
||||
try stderr.writer().print("Error: Missing required argument <spec xml path>\n" ++ usage, .{ prog_name });
|
||||
try stderr.writer().print("Error: Missing required argument <spec xml path>\n" ++ usage, .{prog_name});
|
||||
return;
|
||||
};
|
||||
|
||||
const out_path = maybe_out_path orelse {
|
||||
try stderr.writer().print("Error: Missing required argument <output zig source>\n" ++ usage, .{ prog_name });
|
||||
try stderr.writer().print("Error: Missing required argument <output zig source>\n" ++ usage, .{prog_name});
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user