Fix commands --flags not showing flags via HTTP API
It was caused by the cmds.Option struct being Interface not struct
The solution is to create struct and copy interesting data over.
Also removed the "ShowOptions" field from being sent via the HTTP API.
License: MIT
Signed-off-by:
Jakub Sztandera <kubuxu@protonmail.ch>
正在显示
请
注册
或者
登录
后发表评论