fix: partially backport zig-0.14 command.Metadata change
This commit is contained in:
parent
c186264eac
commit
9c01402f15
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ const Vtable = struct {
|
|||
meta: Metadata,
|
||||
};
|
||||
|
||||
const Metadata = struct {
|
||||
pub const Metadata = struct {
|
||||
description: []const u8 = &[_]u8{},
|
||||
arguments: []const ArgumentType = &[_]ArgumentType{},
|
||||
};
|
||||
|
|
|
@ -241,6 +241,7 @@ fn check_all_not_dirty(self: *const Self) command.Result {
|
|||
const cmds = struct {
|
||||
pub const Target = Self;
|
||||
const Ctx = command.Context;
|
||||
const Meta = command.Metadata;
|
||||
const Result = command.Result;
|
||||
|
||||
pub fn quit(self: *Self, _: Ctx) Result {
|
||||
|
|
Loading…
Add table
Reference in a new issue