aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/tool/flags.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/tool: minor comments fix (#2637)maramihali2021-06-301-3/+4
|
* pkg/tool: add custom flag typeMara Mihali2021-06-301-0/+22
| | | | cfgsFlag allows passing multiple config files as command line arguments.
* pkg/cmdprof: merge into pkg/toolDmitry Vyukov2020-12-251-14/+6
| | | | cmdprof functionality seems to fit well into pkg/tool.
* pkg/tool: add packageDmitry Vyukov2020-12-251-0/+132
Package tool contains various helper utilitites useful for implementation of command line tools. Currently it contains Fail/Failf functions that we commonly use and new support for optional command line flags.