Messages in this thread | | | From | Federico Vaga <> | Subject | trace-cmd improve main() function | Date | Wed, 26 Apr 2017 22:30:26 +0200 |
| |
In two steps I tried to improve the `main()` function. The reason for those patches is that the current `main()` function is doing much more than the necessary (implementing commands); this makes the code not uniform and less clear.
Tests Since those patches are mainly, copy & paste and re-writing how `trace-cmd` runs command, I tested these changes by executing the help message for all the commands. In principle, if we are able to run the commands the patches are correct.
| |