diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 13:55:09 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-05 13:55:09 +0200 |
| commit | 9956160e76561310589133fc7f3013775a54b6ea (patch) | |
| tree | c38d713e615824f18b6aee3424df88a77182968a /yazi-enter.yazi/main.lua | |
| parent | 46623bd0df2d3dedd5d6d97f33c299b9271636eb (diff) | |
Default invocation options
Diffstat (limited to 'yazi-enter.yazi/main.lua')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index 10ed117..55a58bc 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -19,6 +19,12 @@ local function normalize_boolean(name, value) error(("yazi-enter: option --%s must be true, false, 'yes', or 'no'"):format(name), 0) end +local function normalize_options(args) + return normalize_boolean("previous", args.previous), + normalize_boolean("smart", args.smart), + normalize_boolean("insensitive", args.insensitive) +end + local commit = ya.sync(function() return 0 end) |