diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-08 04:47:48 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-09-08 04:47:48 +0000 |
commit | d07b043ee07caa5da9e93a5a2ca9165ff98f85d7 (patch) | |
tree | 1224462d5b27fbcca64d90d408b239cc1cc21cfe | |
parent | bb3e773c4958e76005915e3fd0c4b3a3c51ed941 (diff) |
Fix --sort-key=help
-rw-r--r-- | htop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ int main(int argc, char** argv) { printVersionFlag(); break; case 's': - if (strcmp(optarg, "help")) { + if (strcmp(optarg, "help") == 0) { for (int j = 1; j < LAST_PROCESSFIELD; j++) printf ("%s\n", Process_fieldNames[j]); exit(0); |