mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-01 08:42:55 +08:00
33a04f8dc1
Instead of putting all possible flags in prog.Flags, flags are now registered by the individual subprograms. The 3 flags -sock, -db and -json are shared by multiple subprograms and still handled by the prog package. This new design allows separating the support for -cpuprofile into a separate subprogram, which is no longer included by the default entry point, making the binary slightly smaller. A new entrypoint "withpprof" is created. Also include the LSP subprogram in the nodaemon entry point. |
||
---|---|---|
.. | ||
pprof_test.go | ||
pprof.go |