cli: move cli_args.zig to cli

This commit is contained in:
Mitchell Hashimoto
2023-09-23 22:46:16 -07:00
parent 7fc66f3851
commit 9421bec3a1
6 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
const std = @import("std");
const cli_args = @import("../cli_args.zig");
const cli = @import("../cli.zig");
const inputpkg = @import("../input.zig");
const global = &@import("../main.zig").state;
@@ -52,8 +52,8 @@ export fn ghostty_config_load_string(
fn config_load_string_(self: *Config, str: []const u8) !void {
var fbs = std.io.fixedBufferStream(str);
var iter = cli_args.lineIterator(fbs.reader());
try cli_args.parse(Config, global.alloc, self, &iter);
var iter = cli.args.lineIterator(fbs.reader());
try cli.args.parse(Config, global.alloc, self, &iter);
}
/// Load the configuration from the default file locations. This