1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-18 21:59:49 +00:00

Merge pull request #126 from chrisant996/master

Add flags to the `z` arg matcher for Clink.
This commit is contained in:
Linwei
2020-12-24 10:36:57 +08:00
committed by GitHub

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