summaryrefslogtreecommitdiffstats
path: root/CommandLine.h
AgeCommit message (Collapse)Author
2021-03-25Abstract htop main function to allow for a platform binaryNathan Scott
One review request relating to the PCP platform is to have a clearly separate binary from the regular htop so that we have no confusion as to what is being requested to run, to aid debugging, and a bunch of other good reasons. This commit renames htop.c to CommandLine.c and provides a minimal htop main function for 'native' platforms to use. The PCP version of this will setup libpcp.so and then call the same CommandLine_run function as regular htop. Related to https://github.com/htop-dev/htop/pull/536