mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-06-11 01:25:53 -04:00
Merge pull request #2221 from lightpanda-io/cli_default_serve
This commit is contained in:
@@ -264,7 +264,7 @@ pub fn Builder(comptime commands: anytype) type {
|
||||
|
||||
const exec_name = std.fs.path.basename(args.next().?);
|
||||
|
||||
const cmd_str: []const u8 = args.next() orelse return error.MissingCommand;
|
||||
const cmd_str: []const u8 = args.next() orelse "serve";
|
||||
inline for (commands) |command| {
|
||||
// Match a command.
|
||||
if (std.mem.eql(u8, cmd_str, command.name)) {
|
||||
|
||||
Reference in New Issue
Block a user