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

启动参数只支持默认的 defaultboomer , 不支持自定义的 NewBoomer #185

Closed
xyzdev-cell opened this issue Dec 14, 2022 · 1 comment

Comments

@xyzdev-cell
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. 所有的运行参数会在init时注册
  2. 所以不管什么 Boomer都显示有这些启动选项
  3. 实际这些参数只在defaultBoomer中使用

Expected behavior
至少 mem-profile 和 cpu-profile 可以都支持上

Screenshots
image

Environment (please complete the following information):

  • OS:wsl2 ubuntu
  • Go Version: 1.9.1
@myzhan
Copy link
Owner

myzhan commented Dec 27, 2022

这些是遗留代码,boomer 作为一个库,会尽量减少声明命令行参数,避免跟用户的冲突。

@myzhan myzhan closed this as completed Dec 27, 2022
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