command/attach-modes: above and below options
This commit is contained in:
committed by
Isaac Freund
parent
f6cc4de884
commit
d71bebc032
@ -29,7 +29,7 @@ fn parseAttachMode(args: []const [:0]const u8) Error!Config.AttachMode {
|
||||
|
||||
const tag = meta.stringToEnum(meta.Tag(Config.AttachMode), args[1]) orelse return Error.UnknownOption;
|
||||
switch (tag) {
|
||||
inline .top, .bottom => |mode| {
|
||||
inline .top, .bottom, .above, .below => |mode| {
|
||||
if (args.len > 2) return Error.TooManyArguments;
|
||||
|
||||
return mode;
|
||||
|
Reference in New Issue
Block a user