Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setVar 指令解析错误 #25

Open
mojinpan opened this issue Dec 26, 2019 · 2 comments
Open

setVar 指令解析错误 #25

mojinpan opened this issue Dec 26, 2019 · 2 comments

Comments

@mojinpan
Copy link

mojinpan commented Dec 26, 2019

setVar 这个指令必须配合SHELL_AUTO_PRASE来使用才正常,否则就无法解析,建议用宏定义区分开两种不同传参方式

另外shell内部集成的 Help 需要SHELL_AUTO_PRASE = 0 ,和 setVar 刚好相反,这样也就意味着无论SHELL_AUTO_PRASE 如何设置,都有会部分功能缺失

@NevermindZZT
Copy link
Owner

steVar需要借助参数解析的,help应该两种传参方式都是可用的,这块可以再优化下

@mojinpan
Copy link
Author

mojinpan commented Dec 27, 2019

steVar也是可以改成在函数内部调用解析函数解析内容的,实现原理都一样,只是接口方式不同而已

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants