summaryrefslogtreecommitdiffstats
path: root/CommandLine.h
Commit message (Collapse)AuthorAgeFilesLines
* Refactor to use a program name pointer instead of PACKAGE macroNathan Scott2023-04-061-1/+3
| | | | | | | | During SEGV handling under pcp-htop several incorrect strings were observed - in particular reporting htop as the binary name instead of pcp-htop. This is something we want to be crystal clear on when we request user stack traces etc, so make sure this cannot be done incorrectly.
* Early program termination only from main()Volodymyr Vasiutyk2021-10-311-0/+5
|
* Update license headers to explicitly say GPLv2+Daniel Lange2021-09-221-1/+1
|
* Abstract htop main function to allow for a platform binaryNathan Scott2021-03-251-0/+14
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy