1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-14 11:49:48 +00:00

Add flags to the z arg matcher for Clink.

This commit is contained in:
Chris Antos
2020-12-23 14:48:48 -08:00
parent 3deb8c7b5c
commit c0ff299d67

1
z.lua
View File

@@ -2081,6 +2081,7 @@ function z_clink_init()
end
local z_parser = clink.arg.new_parser()
z_parser:set_arguments({ z_match_completion })
z_parser:set_flags("-c", "-r", "-i", "--cd", "-e", "-b", "--add", "-x", "--purge", "--init", "-l", "-s", "--complete", "--help", "-h")
clink.arg.register_parser("z", z_parser)
end