diff options
| author | ruki <[email protected]> | 2020-08-14 00:42:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-08-14 00:42:55 +0800 |
| commit | 4ebda335327f0cd6b5eea14f076c1d455b8de853 (patch) | |
| tree | f6a1b1b371c70a6d9fa92ac2ed55b2a6cbb9ee3e /xmake/core/base/cli.lua | |
| parent | 5dd8ae71559f4a1ed3cca9addcd55ccfe16dfa35 (diff) | |
improve xmake tool
Diffstat (limited to 'xmake/core/base/cli.lua')
| -rw-r--r-- | xmake/core/base/cli.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/core/base/cli.lua b/xmake/core/base/cli.lua index effa1a0f2..c163c3c90 100644 --- a/xmake/core/base/cli.lua +++ b/xmake/core/base/cli.lua @@ -27,6 +27,7 @@ local string = require("base/string") local hashset = require("base/hashset") segment.__index = segment +cli._segment = segment function segment:__tostring() return self.string @@ -121,7 +122,5 @@ function cli.parsev(argv, flags) return parsed end -cli._segment = segment - -- return module return cli |
