mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 10:57:07 +03:00
Fix --sort-key=help
This commit is contained in:
parent
bb3e773c49
commit
d07b043ee0
2
htop.c
2
htop.c
@ -295,7 +295,7 @@ int main(int argc, char** argv) {
|
|||||||
printVersionFlag();
|
printVersionFlag();
|
||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
if (strcmp(optarg, "help")) {
|
if (strcmp(optarg, "help") == 0) {
|
||||||
for (int j = 1; j < LAST_PROCESSFIELD; j++)
|
for (int j = 1; j < LAST_PROCESSFIELD; j++)
|
||||||
printf ("%s\n", Process_fieldNames[j]);
|
printf ("%s\n", Process_fieldNames[j]);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user